mirror of
https://github.com/BradNut/example-sveltekit-email-password-webauthn
synced 2025-09-08 17:40:27 +00:00
fix email verification
This commit is contained in:
parent
9d6b809e28
commit
76bc668cd2
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export function getUserEmailVerificationRequestFromRequest(event: RequestEvent):
|
|||
return null;
|
||||
}
|
||||
const request = getUserEmailVerificationRequest(event.locals.user.id, id);
|
||||
if (request !== null) {
|
||||
if (request === null) {
|
||||
deleteEmailVerificationRequestCookie(event);
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue