Skip to content

Commit b46dc66

Browse files
committed
add emailSentRedirect, call verify after success
1 parent ec3aede commit b46dc66

File tree

5 files changed

+740
-376
lines changed

5 files changed

+740
-376
lines changed

src/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const ERRORS = {
2323
REQUIRED_ENV_SECRET: 'Missing required .env secret.',
2424
USER_NOT_FOUND: 'User not found.',
2525
INVALID_MAGIC_LINK_PATH: 'Invalid magic-link expected path.',
26+
REQUIRED_EMAIL_SENT_REDIRECT_URL: 'Missing required emailSentRedirect URL.',
2627
REQUIRED_SUCCESS_REDIRECT_URL: 'Missing required successRedirect URL.',
2728
REQUIRED_FAILURE_REDIRECT_URL: 'Missing required failureRedirect URL.',
2829
} as const

0 commit comments

Comments
 (0)