diff options
| author | Puyodead1 <puyodead@proton.me> | 2023-01-19 11:15:12 -0500 |
|---|---|---|
| committer | Puyodead1 <puyodead@protonmail.com> | 2023-02-23 21:35:51 -0500 |
| commit | a47d80b255f1501e39bebd7ad7e80119c8ed1697 (patch) | |
| tree | eca3d1ff4a837efb8dfcc1571279c2f72f529e99 /src/api/middlewares | |
| parent | add missing copyright headers (diff) | |
| download | server-ts-a47d80b255f1501e39bebd7ad7e80119c8ed1697.tar.xz | |
Email verification works
- Added /auth/verify to authenticated route whitelist - Updated /auth/verify to properly mark a user as verified, return a response, and fix expiration time check - Implemented /auth/verify/resend - Moved verification email sending to a helper method - Fixed VerifyEmailSchema requiring captcha_key
Diffstat (limited to 'src/api/middlewares')
| -rw-r--r-- | src/api/middlewares/Authentication.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts |
