Domagoj Kriskovic
29ca9b4ca3
Confirm email new routes (#15377)
* confirm email routes
* Style the email confirmation template (#15196)
* error handling
* prettier
* error message
* rename variables
* message codes change
* v1 redirect
* fix assigning to session
* rename rate limitter
* rate limitter per email
* add try/catch
* added stub
* prettier
* confirm email acceptance test
* confirm when created
* tests
* added rate limit tests
* new email text
* subscribe to newsletter
* beforeEach/afterEach test both variants
* move tests to OverleafAuthenticationTests
* Revert "move tests to OverleafAuthenticationTests"
This reverts commit 3c745382815da1594044a811882ba3daa24a7a3a.
* cacheflow reset after each
* remove test archive request
* use crypto for random code
* rate limit in userEmailsConfirmationHandler
* ratelimiter per type
* req.session.pendingUserRegistration
* spy in before/after each
* without deleteMany
* delete staffUser in afterEach
* stub response, format
* rate limiter outside userEmailConfirmationHandler
* mock ratelimitter
* fix subscribe promise
* add email to logger
* logger calls
* using tsscmp
* fix lint
* resendConfirmationCode rate limiter in router
* remove redirect
---------
Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: 786c477966cf2c5f6e28417fe486146ee5c10884
2023-11-02 08:52:48 +00:00
..
2023-10-20 08:04:05 +00:00
2023-10-25 08:04:08 +00:00
2023-10-20 08:04:05 +00:00
2023-10-25 08:05:03 +00:00
2022-05-23 08:04:00 +00:00
2023-10-20 08:04:05 +00:00
2023-03-22 09:05:04 +00:00
2023-10-31 09:04:36 +00:00
2023-10-31 09:04:11 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2022-08-26 08:03:30 +00:00
2023-03-22 09:05:04 +00:00
2023-10-31 09:04:11 +00:00
2023-11-02 08:52:48 +00:00
2023-10-31 09:04:48 +00:00
2023-03-22 09:05:04 +00:00
2023-10-20 08:04:05 +00:00
2022-04-05 12:20:52 +00:00
2023-02-10 09:04:19 +00:00
2023-10-13 08:03:51 +00:00
2023-04-28 08:04:51 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2023-08-04 08:04:11 +00:00
2022-09-22 08:03:59 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2023-10-31 09:04:00 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2023-10-19 08:03:25 +00:00
2023-10-31 09:04:36 +00:00
2023-10-20 08:04:05 +00:00
2023-03-22 09:05:04 +00:00
2023-10-20 08:04:05 +00:00
2023-10-17 08:03:17 +00:00
2023-09-18 08:03:49 +00:00
2023-11-01 09:03:19 +00:00
2023-10-20 08:04:05 +00:00
2023-02-28 09:03:46 +00:00
2023-10-20 08:04:05 +00:00
2023-08-03 08:03:37 +00:00
2023-10-20 08:04:05 +00:00
2023-10-31 09:04:26 +00:00
2022-05-17 08:05:59 +00:00
2023-10-20 08:04:05 +00:00
2023-10-20 08:04:05 +00:00
2023-11-02 08:52:48 +00:00
2023-11-01 09:03:25 +00:00
2023-10-20 08:04:05 +00:00