"...git@developer.sourcefind.cn:guobj/qwen_lmdeploy.git" did not exist on "4d42a781254e85176bd91f943a28b2d0360e7768"
Unverified Commit 78284e49 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1488 from open-webui/dev

0.1.118
parents 331fe04d 64a6db4b
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
import { WEBUI_NAME, config, user } from '$lib/stores'; import { WEBUI_NAME, config, user } from '$lib/stores';
import { onMount, getContext } from 'svelte'; import { onMount, getContext } from 'svelte';
import { toast } from 'svelte-sonner'; import { toast } from 'svelte-sonner';
import { generateInitialsImage, canvasPixelTest } from '$lib/utils';
const i18n = getContext('i18n'); const i18n = getContext('i18n');
...@@ -36,10 +37,12 @@ ...@@ -36,10 +37,12 @@
}; };
const signUpHandler = async () => { const signUpHandler = async () => {
const sessionUser = await userSignUp(name, email, password).catch((error) => { const sessionUser = await userSignUp(name, email, password, generateInitialsImage(name)).catch(
toast.error(error); (error) => {
return null; toast.error(error);
}); return null;
}
);
await setSessionUser(sessionUser); await setSessionUser(sessionUser);
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment