mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-22 18:06:37 +08:00
fix: wrong password verify check allows for any login
This commit is contained in:
@@ -218,6 +218,8 @@ class Account {
|
|||||||
|
|
||||||
if ( $activateData != "" ) {
|
if ( $activateData != "" ) {
|
||||||
$form->addError( "activate", $_POST['user'] );
|
$form->addError( "activate", $_POST['user'] );
|
||||||
|
} else {
|
||||||
|
$form->addError("pw",LOGIN_PW_ERROR);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$form->addError("pw",LOGIN_PW_ERROR);
|
$form->addError("pw",LOGIN_PW_ERROR);
|
||||||
|
|||||||
Reference in New Issue
Block a user