auth internal: fix login screen warning

master
Andrew Dolgov 12 years ago
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…
Cancel
Save