disable OTP when saving user

This commit is contained in:
Andrew Dolgov 2012-09-09 12:39:04 +04:00
parent 304aadb907
commit b8386ad3d1
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,8 @@ class Pref_Users extends Handler_Protected {
} }
db_query($this->link, "UPDATE ttrss_users SET $pass_query_part login = '$login', 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'");
} }