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
This commit is contained in:
Puyodead1
2023-02-23 21:35:51 -05:00
committed by Puyodead1
parent cc6bf066b1
commit a47d80b255
7 changed files with 129 additions and 23 deletions
+1 -1
View File
@@ -17,6 +17,6 @@
*/
export interface VerifyEmailSchema {
captcha_key: string | null;
captcha_key?: string | null;
token: string;
}