auth internal: fix login screen warning
This commit is contained in:
parent
973392b9f5
commit
4e70344bbf
|
@ -12,6 +12,7 @@ class Auth_Internal extends Auth_Base {
|
|||
$result = db_query($this->link, "SELECT otp_enabled,salt FROM ttrss_users WHERE
|
||||
login = '$login'");
|
||||
|
||||
if (db_num_rows($result) > 0) {
|
||||
require_once "lib/otphp/vendor/base32.php";
|
||||
require_once "lib/otphp/lib/otp.php";
|
||||
require_once "lib/otphp/lib/totp.php";
|
||||
|
@ -48,6 +49,7 @@ class Auth_Internal extends Auth_Base {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (get_schema_version($this->link) > 87) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue