mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-09-16 16:09:04 +02:00
fix: add missing await to catch redirect invalid URL errors
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
await userStore.setUser(user);
|
||||
|
||||
try {
|
||||
goto(data.redirect);
|
||||
await goto(data.redirect);
|
||||
} catch {
|
||||
error = m.invalid_redirect_url();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user