mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
WIP feature/breadcrumb/fix_localize
This commit is contained in:
@@ -38,7 +38,7 @@ function Login({
|
||||
const loginValidationSchema = Yup.object().shape({
|
||||
crediential: Yup.string()
|
||||
.required(formatMessage({ id: 'required' }))
|
||||
.email(formatMessage({ id: 'invalid_email_or_phone_numner' })),
|
||||
.email(formatMessage({ id: 'invalid_email_or_phone_number' })),
|
||||
password: Yup.string()
|
||||
.required(formatMessage({ id: 'required' }))
|
||||
.min(4),
|
||||
@@ -63,7 +63,7 @@ function Login({
|
||||
crediential: values.crediential,
|
||||
password: values.password,
|
||||
}).then(() => {
|
||||
history.go('/dashboard/homepage');
|
||||
history.go('/homepage');
|
||||
setSubmitting(false);
|
||||
}).catch((errors) => {
|
||||
const toastBuilders = [];
|
||||
|
||||
Reference in New Issue
Block a user