chore: use prefix for last login method

This commit is contained in:
Bereket Engida
2025-09-01 13:21:29 -07:00
parent 2db142465e
commit c4da20d8f5
2 changed files with 5 additions and 5 deletions
@@ -50,7 +50,7 @@ export const lastLoginMethod = <O extends LastLoginMethodOptions>(
"/sign-up/email",
];
const config = {
cookieName: "last_used_login_method",
cookieName: "better-auth.last_used_login_method",
maxAge: 60 * 60 * 24 * 30,
customResolveMethod: (ctx) => {
if (paths.includes(ctx.path)) {