This commit is contained in:
Kinfe123
2025-04-13 15:22:23 +03:00
parent 7dff503e86
commit c9ac010940

View File

@@ -68,7 +68,7 @@ export const haveIBeenPwned = (options?: HaveIBeenPwnedOptions) =>
before: [
{
matcher(ctx) {
return ctx.path === "/sign-up/email"
return ctx.path === "/sign-up/email";
},
handler: createAuthMiddleware(async (ctx) => {
if (ctx.body?.password) {
@@ -96,7 +96,6 @@ export const haveIBeenPwned = (options?: HaveIBeenPwnedOptions) =>
},
},
},
};
},
$ERROR_CODES: ERROR_CODES,