From: Andrew Dolgov Date: Sun, 9 Sep 2012 08:39:04 +0000 (+0400) Subject: disable OTP when saving user X-Git-Tag: 1.6.0~67 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b8386ad3d14dc0518e1289d3987c79c3922dae2a;p=tt-rss.git disable OTP when saving user --- diff --git a/classes/pref/users.php b/classes/pref/users.php index e54f899d..a39dce78 100644 --- a/classes/pref/users.php +++ b/classes/pref/users.php @@ -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'"); }