diff options
author | Andrew Dolgov <[email protected]> | 2012-09-15 17:17:38 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-15 17:17:38 +0400 |
commit | d031f6981353c7876e7407e225df520a61473f8c (patch) | |
tree | 67ee0e11beae3190e2b0e5e58aae51d855a87111 /classes/auth | |
parent | 6e0ee8336f556b37e7fc9c4144a71050f6a9cfc0 (diff) |
Revert "auth internal: fix otp check clause"
This reverts commit 72d0e9b33f8f83969d738d71029ce272336b9cee.
Diffstat (limited to 'classes/auth')
-rw-r--r-- | classes/auth/internal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/auth/internal.php b/classes/auth/internal.php index 8ae762b8a..92c19eb64 100644 --- a/classes/auth/internal.php +++ b/classes/auth/internal.php @@ -9,7 +9,7 @@ class Auth_Internal extends Auth_Base { $otp = db_escape_string($_REQUEST["otp"]); if (get_schema_version($this->link) > 96) { - if (version_compare(PHP_VERSION, '5.3.0') >= 0 && (!defined('AUTH_DISABLE_OTP') || !AUTH_DISABLE_OTP)) { + if (version_compare(PHP_VERSION, '5.3.0') >= 0 && !defined('AUTH_DISABLE_OTP') || !AUTH_DISABLE_OTP) { $result = db_query($this->link, "SELECT otp_enabled,salt FROM ttrss_users WHERE login = '$login'"); |