discourse/config/locales
Alan Guo Xiang Tan e97ef7e9af
FEATURE: Allow site admin to mark a user's password as expired (#27314)
This commit adds the ability for site administrators to mark users'
passwords as expired. Note that this commit does not add any client side
interface to mark a user's password as expired.

The following changes are introduced in this commit:

1. Adds a `user_passwords` table and `UserPassword` model. While the
   `user_passwords` table is currently used to only store expired
   passwords, it will be used in the future to store a user's current
   password as well.

2. Adds a `UserPasswordExpirer.expire_user_password` method which can
   be used from the Rails console to mark a user's password as expired.

3. Updates `SessionsController#create` to check that the user's current
   password has not been marked as expired after confirming the
   password. If the password is determined to be expired based on the
   existence of a `UserPassword` record with the `password_expired_at`
   column set, we will not log the user in and will display a password
   expired notice. A forgot password email is automatically send out to
   the user as well.
2024-06-04 15:42:53 +08:00
..
client.ar.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.be.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.bg.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.bs_BA.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ca.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.cs.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.da.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.de.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.el.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.en_GB.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.en.yml FEATURE: Allow "move to inbox" and "move to archive" for private messages using new bulk topic dropdown (#27236) 2024-06-03 14:37:28 +10:00
client.es.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.et.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.fa_IR.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.fi.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.fr.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.gl.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.he.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.hr.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.hu.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.hy.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.id.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.it.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ja.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ko.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.lt.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.lv.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.nb_NO.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.nl.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.pl_PL.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.pt_BR.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.pt.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ro.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ru.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.sk.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.sl.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.sq.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.sr.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.sv.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.sw.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.te.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.th.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.tr_TR.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ug.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.uk.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.ur.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.vi.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.zh_CN.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
client.zh_TW.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
names.yml FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
plurals.rb FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
server.ar.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.be.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.bg.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.bs_BA.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ca.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.cs.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.da.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.de.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.el.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.en_GB.yml Update translations (#26030) 2024-03-05 16:47:46 +01:00
server.en.yml FEATURE: Allow site admin to mark a user's password as expired (#27314) 2024-06-04 15:42:53 +08:00
server.es.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.et.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.fa_IR.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.fi.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.fr.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.gl.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.he.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.hr.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.hu.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.hy.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.id.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.it.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ja.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ko.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.lt.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.lv.yml Update translations (#26821) 2024-04-30 21:57:28 +02:00
server.nb_NO.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.nl.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.pl_PL.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.pt_BR.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.pt.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ro.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ru.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.sk.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.sl.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.sq.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.sr.yml Update translations (#26575) 2024-04-09 18:48:44 +02:00
server.sv.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.sw.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.te.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.th.yml Update translations (#26575) 2024-04-09 18:48:44 +02:00
server.tr_TR.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ug.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.uk.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.ur.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.vi.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.zh_CN.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
server.zh_TW.yml Update translations (#27274) 2024-05-31 12:27:26 +02:00
transliterate.ar.yml
transliterate.bg.yml
transliterate.de.yml
transliterate.el.yml
transliterate.en.yml
transliterate.ru.yml
transliterate.ug.yml FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
transliterate.vi.yml