Redirect to $baseUrl after auth with passkey instead of / (#482)
Go CI / Lint (push) Has been cancelled
Go CI / Check (push) Has been cancelled
Go CI / Build (1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Build (1.23, windows-latest) (push) Has been cancelled
Go CI / Test (mysql, 1.23, mysql:8, ubuntu-latest, 3306:3306) (push) Has been cancelled
Go CI / Test (postgres, 1.23, postgres:16, ubuntu-latest, 5432:5432) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, macOS-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, ubuntu-latest) (push) Has been cancelled
Go CI / Test (sqlite, 1.23, windows-latest) (push) Has been cancelled
Go CI / Build (1.23, macOS-latest) (push) Has been cancelled

Fixes: #481
This commit is contained in:
s1shed
2025-07-01 15:40:33 +03:00
committed by GitHub
parent 867aa6e57b
commit b18cdb9188
+1 -1
View File
@@ -155,7 +155,7 @@ async function loginWithPasskey() {
}
setTimeout(() => {
window.location.href = '/';
window.location.href = `${baseUrl}`;
}, 100);
} catch (error) {
console.error('Login error:', error);