mirror of
https://github.com/discourse/discourse.git
synced 2025-06-23 01:32:49 +08:00
REVERT: FIX: Password required flag should be cleared whenever clearing the raw password
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user