mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 05:53:11 +00:00
notify user with toast.info() + update toast message
This commit is contained in:
parent
7081755e19
commit
78565e554b
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user