Redirect to $baseUrl after auth with passkey instead of / (#482)
Fixes: #481
This commit is contained in:
@@ -155,7 +155,7 @@ async function loginWithPasskey() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = '/';
|
window.location.href = `${baseUrl}`;
|
||||||
}, 100);
|
}, 100);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Login error:', error);
|
console.error('Login error:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user