mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 05:53:11 +00:00
Merge pull request #2 from lainedfles/feat/profile-image-initials-fixes
Feat/profile image initials fixes
This commit is contained in:
commit
7081755e19
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user