From c9ac010940d59cd78e671c26887a85ed2b189e52 Mon Sep 17 00:00:00 2001 From: Kinfe123 Date: Sun, 13 Apr 2025 15:22:23 +0300 Subject: [PATCH] lint --- packages/better-auth/src/plugins/haveibeenpwned/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,