summaryrefslogtreecommitdiff
path: root/classes/auth
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-15 17:17:44 +0400
committerAndrew Dolgov <[email protected]>2012-09-15 17:17:44 +0400
commitd1e31c7a747bdfe91a565d6c9dabdd923bdfd8d3 (patch)
treecb6cad8dc8f96f2fbdbfbc96d0c51c79c938088c /classes/auth
parentd031f6981353c7876e7407e225df520a61473f8c (diff)
Revert "only enable OTPHP on php version 5.3+"
This reverts commit 1835f145a8f4d450e33b15faf7d50437731a8793.
Diffstat (limited to 'classes/auth')
-rw-r--r--classes/auth/internal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/auth/internal.php b/classes/auth/internal.php
index 92c19eb64..37014ce47 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 (!defined('AUTH_DISABLE_OTP') || !AUTH_DISABLE_OTP) {
$result = db_query($this->link, "SELECT otp_enabled,salt FROM ttrss_users WHERE
login = '$login'");