From b8386ad3d14dc0518e1289d3987c79c3922dae2a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Sep 2012 12:39:04 +0400 Subject: [PATCH] disable OTP when saving user --- classes/pref/users.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'"); } -- 2.39.5