diff --git a/packages/better-auth/src/plugins/haveibeenpwned/index.ts b/packages/better-auth/src/plugins/haveibeenpwned/index.ts index a68030b45e..9867df22cc 100644 --- a/packages/better-auth/src/plugins/haveibeenpwned/index.ts +++ b/packages/better-auth/src/plugins/haveibeenpwned/index.ts @@ -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,