mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
chore: use prefix for last login method
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user