]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable OTP when saving user
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 9 Sep 2012 08:39:04 +0000 (12:39 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 9 Sep 2012 08:39:04 +0000 (12:39 +0400)
classes/pref/users.php

index e54f899d750d1a39b2d81d1b657de6a0f5cde4a8..a39dce7860502fe5782193f8052757f4d952a34b 100644 (file)
@@ -214,7 +214,8 @@ class Pref_Users extends Handler_Protected {
                        }
 
                        db_query($this->link, "UPDATE ttrss_users SET $pass_query_part login = '$login',
-                               access_level = '$access_level', email = '$email' WHERE id = '$uid'");
+                               access_level = '$access_level', email = '$email', otp_enabled = 'false'
+                               WHERE id = '$uid'");
 
                }