mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Password required flag should be cleared whenever clearing the raw password (#5384)
This commit is contained in:
parent
9876f3d0ee
commit
7f2eeaf767
7 changed files with 38 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue