mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: Password required flag should be cleared whenever clearing the raw password (#5384)
This commit is contained in:
@ -644,7 +644,7 @@ describe User do
|
||||
|
||||
UserAuthToken.generate!(user_id: @user.id)
|
||||
|
||||
@user.password = "passwordT"
|
||||
@user.password = "passwordT0"
|
||||
@user.save!
|
||||
|
||||
# must expire old token on password change
|
||||
|
Reference in New Issue
Block a user