mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
fix: redirection for users already logged in
This commit is contained in:
parent
b03fc97e28
commit
c4c6e02b4c
1 changed files with 2 additions and 1 deletions
|
|
@ -140,7 +140,8 @@
|
|||
|
||||
onMount(async () => {
|
||||
if ($user !== undefined) {
|
||||
await goto('/');
|
||||
const redirectPath = querystringValue('redirect') || '/';
|
||||
goto(redirectPath);
|
||||
}
|
||||
await checkOauthCallback();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue