mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
FIX: Password required flag should be cleared whenever clearing the raw password
This commit is contained in:
parent
900dec5bc1
commit
1776649b4d
@ -1029,6 +1029,7 @@ 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user