respond with relative code expiration time

This commit is contained in:
miloschwartz
2025-12-01 12:36:02 -05:00
parent 92125611e9
commit 8c62dfa706
3 changed files with 10 additions and 8 deletions

View File

@@ -15,8 +15,6 @@ export default async function DeviceLoginPage({ searchParams }: Props) {
const params = await searchParams;
const code = params.code || "";
console.log("user", user);
if (!user) {
const redirectDestination = code
? `/auth/login/device?code=${encodeURIComponent(code)}`