mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
users/login.php:
- also switch to the new "login failed" message git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@551 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
2411cd7765
commit
9f24bef7d9
@ -64,14 +64,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
if ($result['rows'] != 1)
|
||||
{
|
||||
$error = 1;
|
||||
$tMessage = $PALANG['pLogin_password_incorrect'];
|
||||
$tMessage = '<span class="error_msg">' . $PALANG['pLogin_failed'] . '</span>';
|
||||
$tUsername = $fUsername;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$error = 1;
|
||||
$tMessage = $PALANG['pLogin_username_incorrect'];
|
||||
$tMessage = '<span class="error_msg">' . $PALANG['pLogin_failed'] . '</span>';
|
||||
}
|
||||
|
||||
if ($error != 1)
|
||||
|
Loading…
Reference in New Issue
Block a user