mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
parent
f227315ad1
commit
4e0f22aa00
@ -39,7 +39,7 @@ export function AuthenticationForm() {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
notifications.show({
|
notifications.show({
|
||||||
title: t`Login successfull`,
|
title: t`Login successful`,
|
||||||
message: t`Welcome back!`,
|
message: t`Welcome back!`,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
icon: <IconCheck size="1rem" />
|
icon: <IconCheck size="1rem" />
|
||||||
@ -51,7 +51,7 @@ export function AuthenticationForm() {
|
|||||||
doSimpleLogin(simpleForm.values.email).then((ret) => {
|
doSimpleLogin(simpleForm.values.email).then((ret) => {
|
||||||
if (ret?.status === 'ok') {
|
if (ret?.status === 'ok') {
|
||||||
notifications.show({
|
notifications.show({
|
||||||
title: t`Mail delivery successfull`,
|
title: t`Mail delivery successful`,
|
||||||
message: t`Check your inbox for the login link. If you have an account, you will receive a login link. Check in spam too.`,
|
message: t`Check your inbox for the login link. If you have an account, you will receive a login link. Check in spam too.`,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
icon: <IconCheck size="1rem" />,
|
icon: <IconCheck size="1rem" />,
|
||||||
|
@ -33,7 +33,7 @@ export const doClassicLogout = async () => {
|
|||||||
setToken(undefined);
|
setToken(undefined);
|
||||||
|
|
||||||
notifications.show({
|
notifications.show({
|
||||||
title: t`Logout successfull`,
|
title: t`Logout successful`,
|
||||||
message: t`See you soon.`,
|
message: t`See you soon.`,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
icon: <IconCheck size="1rem" />
|
icon: <IconCheck size="1rem" />
|
||||||
@ -71,7 +71,7 @@ export function handleReset(navigate: any, values: { email: string }) {
|
|||||||
.then((val) => {
|
.then((val) => {
|
||||||
if (val.status === 200) {
|
if (val.status === 200) {
|
||||||
notifications.show({
|
notifications.show({
|
||||||
title: t`Mail delivery successfull`,
|
title: t`Mail delivery successful`,
|
||||||
message: t`Check your inbox for a reset link. This only works if you have an account. Check in spam too.`,
|
message: t`Check your inbox for a reset link. This only works if you have an account. Check in spam too.`,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
autoClose: false
|
autoClose: false
|
||||||
|
Loading…
Reference in New Issue
Block a user