Files
NodeBB/test
Julian Lam 9c576a0758 Email confirmation QOL updates (#10987)
* breaking: remove `SocketUser.emailConfirm`, re: #10954

* chore: move email confirmation related configs to own section in Settings > Email

* feat: new user email method `getValidationExpiry`, returns expiration in ms.. probably.

* fix: bug where `user.email.isValidationPending` returned an u nexpected non-boolean value if there was no confirmation pending (only when checking email as well)

* fix: update getValidationExpiry to return ms

* test: use emailConfirmInterval for tests, for now

* fix: throw friendly error when attempting an email change within email confirmation window

* feat: new config option `emailConfirmExpiry` in days, governs how long the confirm link is good for

* test: additional tests for user email methods

* fix: add back missing handling of  option

* test: fix tests
2022-10-18 15:12:13 -04:00
..
2022-08-05 14:39:36 -04:00
2022-08-10 13:24:16 -04:00
2022-04-29 21:39:33 -04:00
2017-02-18 15:05:36 -07:00
2021-02-08 18:06:44 -05:00
2021-02-08 18:06:44 -05:00
2022-10-03 09:41:08 -04:00
2021-11-22 19:23:51 -05:00
2021-02-08 18:06:44 -05:00
2022-06-17 14:26:12 -04:00
2021-02-08 18:06:44 -05:00
2022-04-29 21:39:33 -04:00
2021-11-18 16:42:18 -05:00
2022-08-10 13:24:16 -04:00
2021-08-30 10:23:38 -04:00
2021-02-08 18:06:44 -05:00
2021-02-08 18:06:44 -05:00
2021-02-08 18:06:44 -05:00
2022-08-09 18:26:46 -04:00
2022-04-29 21:39:33 -04:00
2022-04-29 21:39:33 -04:00
2021-11-23 19:02:49 -05:00
2022-08-10 13:24:16 -04:00
2022-05-26 12:42:09 -04:00