discourse/app
Alan Guo Xiang Tan 82383ea776
DEV: Avoid unique validation in UserPasswordExpirer.expire_user_password (#27343)
This commit updates the `UserPasswordExpirer.expire_user_password`
method to update `UserPassword#password_expired_at` when an existing
`UserPassword` record exists with the same `password_salt`,
`password_hash` and `password_algorithm`. This is to prevent the unique
validation error on `UserPassword#user_id` and
`UserPassword#password_hash` from being raised when the method is called
twice for a user that has not changed its password.
2024-06-05 15:22:40 +08:00
..
assets FIX: Pluralisation for short password count (#27342) 2024-06-05 16:20:48 +10:00
controllers UX: Streamline reset password page (#27341) 2024-06-05 15:22:59 +10:00
helpers DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
jobs DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
mailers FIX: correctly compute the window for email summaries 2024-05-27 22:33:51 +02:00
models FEATURE: the ability to change the order of flags (#27269) 2024-06-05 13:27:06 +10:00
serializers FEATURE: the ability to change the order of flags (#27269) 2024-06-05 13:27:06 +10:00
services DEV: Avoid unique validation in UserPasswordExpirer.expire_user_password (#27343) 2024-06-05 15:22:40 +08:00
views FIX: send activity summaries based on "last seen" (#27035) 2024-05-22 10:23:03 +02:00