fix(last-login-method): detect passkey login to set last used method (#6154)

Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
Gautam Manchandani
2025-11-21 16:48:33 +00:00
committed by GitHub
parent c4579f4745
commit 33e9844acc
@@ -64,6 +64,7 @@ export const lastLoginMethod = <O extends LastLoginMethodOptions>(
);
}
if (ctx.path.includes("siwe")) return "siwe";
if (ctx.path.includes("/passkey/verify-authentication")) return "passkey";
return null;
};