mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
fix
This commit is contained in:
parent
acaf135a2f
commit
a93b0ac143
@ -8,6 +8,7 @@
|
||||
import { toast } from 'svelte-sonner';
|
||||
import { generateInitialsImage, canvasPixelTest } from '$lib/utils';
|
||||
import { page } from '$app/stores';
|
||||
import { getBackendConfig } from '$lib/apis';
|
||||
|
||||
const i18n = getContext('i18n');
|
||||
|
||||
@ -28,6 +29,7 @@
|
||||
|
||||
$socket.emit('user-join', { auth: { token: sessionUser.token } });
|
||||
await user.set(sessionUser);
|
||||
await config.set(await getBackendConfig());
|
||||
goto('/');
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user