mirror of
https://github.com/e107inc/e107.git
synced 2025-10-27 03:31:47 +01:00
Login flow consistency: Do not use redirect in admin area login box
The non-admin login flow does not perform a redirect, but the admin login flow did. This led to an inconsistency in how the authentication error message was passed. Fixes: https://github.com/e107inc/e107/issues/4779
This commit is contained in:
@@ -646,7 +646,7 @@ class userlogin
|
||||
$this->logNote('LAN_ROLL_LOG_10', $username);
|
||||
}
|
||||
|
||||
e107::getMessage()->reset()->addError($message, 'default', true); // prevent duplicates, session=true needed for admin-area login.
|
||||
e107::getMessage()->reset()->addError($message); // prevent duplicates
|
||||
|
||||
if($this->testMode === true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user