Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
7081755e
Unverified
Commit
7081755e
authored
Apr 06, 2024
by
Danny Liu
Committed by
GitHub
Apr 06, 2024
Browse files
Merge pull request #2 from lainedfles/feat/profile-image-initials-fixes
Feat/profile image initials fixes
parents
1af62a70
cf54adf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
src/lib/components/chat/Settings/Account.svelte
src/lib/components/chat/Settings/Account.svelte
+1
-1
src/routes/auth/+page.svelte
src/routes/auth/+page.svelte
+10
-0
No files found.
src/lib/components/chat/Settings/Account.svelte
View file @
7081755e
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
profileImageUrl = generateInitialsImage(name);
profileImageUrl = generateInitialsImage(name);
} else {
} else {
toast.error(
toast.error(
'Canvas pixel test failed
,
fingerprint evasion likely. Disable fingerprint evasion and try again!',
$i18n.t(
'Canvas pixel test failed
:
fingerprint evasion likely. Disable fingerprint evasion and try again!'
)
,
{
{
autoClose: 1000 * 10
autoClose: 1000 * 10
}
}
...
...
src/routes/auth/+page.svelte
View file @
7081755e
...
@@ -43,6 +43,16 @@
...
@@ -43,6 +43,16 @@
}
}
);
);
if (!canvasPixelTest()) {
toast.error(
$i18n.t('Canvas pixel test failed: fingerprint evasion likely. Using default avatar image.'),
{
position: "bottom-center",
autoClose: 1000 * 10,
}
);
}
await setSessionUser(sessionUser);
await setSessionUser(sessionUser);
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment