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
78565e55
Commit
78565e55
authored
Apr 06, 2024
by
Danny Liu
Browse files
notify user with toast.info() + update toast message
parent
7081755e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/lib/components/chat/Settings/Account.svelte
src/lib/components/chat/Settings/Account.svelte
+2
-2
src/routes/auth/+page.svelte
src/routes/auth/+page.svelte
+2
-2
No files found.
src/lib/components/chat/Settings/Account.svelte
View file @
78565e55
...
@@ -151,8 +151,8 @@
...
@@ -151,8 +151,8 @@
if (canvasPixelTest()) {
if (canvasPixelTest()) {
profileImageUrl = generateInitialsImage(name);
profileImageUrl = generateInitialsImage(name);
} else {
} else {
toast.
error
(
toast.
info
(
$i18n.t('
Canvas pixel test failed: fingerprint evasion likely. Disable fingerprint evasion and try again
!'),
$i18n.t('
Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar
!'),
{
{
autoClose: 1000 * 10
autoClose: 1000 * 10
}
}
...
...
src/routes/auth/+page.svelte
View file @
78565e55
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
);
);
if (!canvasPixelTest()) {
if (!canvasPixelTest()) {
toast.
error
(
toast.
info
(
$i18n.t('
Canvas pixel test failed: fingerprint evasion likely. Using default avatar image.
'),
$i18n.t('
Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!
'),
{
{
position: "bottom-center",
position: "bottom-center",
autoClose: 1000 * 10,
autoClose: 1000 * 10,
...
...
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