mirror of
https://github.com/e107inc/e107.git
synced 2025-06-02 17:04:58 +02:00
Salted authorization didn't work - quick fix made, awaiting Steve for further discussion on this subject
This commit is contained in:
parent
5cb24000b9
commit
31c72e310f
@ -388,6 +388,7 @@ class userlogin
|
||||
}
|
||||
|
||||
// FIXME - [SecretR] $username is not set and I really can't get the idea.
|
||||
$username = $this->userData['user_loginname']; // TODO for Steve - temporary fix, where $username comes from?
|
||||
|
||||
// Now check password
|
||||
if ($forceLogin)
|
||||
@ -409,7 +410,8 @@ class userlogin
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // Plaintext password
|
||||
{
|
||||
// Plaintext password
|
||||
// $this->e107->admin_log->e_log_event(4,__FILE__."|".__FUNCTION__."@".__LINE__,"DBG","Plaintext login","U: {$username}, P: {$userpass}, C: ".$session->get('challenge')." R:{$response} S: {$this->userData['user_password']}",FALSE,LOG_TO_ROLLING);
|
||||
if (($pass_result = $this->userMethods->CheckPassword($userpass,($this->lookEmail ? $this->userData['user_loginname'] : $username),$requiredPassword)) === PASSWORD_INVALID)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user