mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:05:56 +00:00
auth_internal: cast OTP code to integer before trying to check it
This commit is contained in:
@@ -22,7 +22,7 @@ class Auth_Internal extends Plugin implements IAuthModule {
|
|||||||
|
|
||||||
$pwd_hash1 = encrypt_password($password);
|
$pwd_hash1 = encrypt_password($password);
|
||||||
$pwd_hash2 = encrypt_password($password, $login);
|
$pwd_hash2 = encrypt_password($password, $login);
|
||||||
$otp = $_REQUEST["otp"];
|
$otp = (int)$_REQUEST["otp"];
|
||||||
|
|
||||||
if (get_schema_version() > 96) {
|
if (get_schema_version() > 96) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user