REVERT: FIX: Password required flag should be cleared whenever clearing the raw password

This commit is contained in:
Vinoth Kannan 2017-11-30 16:17:14 +05:30
parent a1c6bd47a7
commit 1ee48966ca
1 changed files with 0 additions and 1 deletions

View File

@ -1029,7 +1029,6 @@ class User < ActiveRecord::Base
UserAuthToken.where(user_id: id).destroy_all
# We should not carry this around after save
@raw_password = nil
@password_required = false
end
end