mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:05:56 +00:00
valid OTP code should not be enough to login, oops
This commit is contained in:
@@ -50,7 +50,7 @@ class Auth_Internal extends Auth_Base {
|
|||||||
return false;
|
return false;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
if (UserHelper::check_otp($user_id, $otp))
|
if ($this->check_password($user_id, $password) && UserHelper::check_otp($user_id, $otp))
|
||||||
return $user_id;
|
return $user_id;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user