Set Default Email & password
This commit is contained in:
@@ -39,8 +39,8 @@ export default function LoginForm() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const defaultValues = {
|
const defaultValues = {
|
||||||
email: '',
|
email: 'admin@linksehat.dev',
|
||||||
password: '',
|
password: 'password',
|
||||||
remember: true,
|
remember: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -75,6 +75,7 @@ export default function LoginForm() {
|
|||||||
return (
|
return (
|
||||||
<FormProvider methods={methods} onSubmit={handleSubmit(onSubmit)}>
|
<FormProvider methods={methods} onSubmit={handleSubmit(onSubmit)}>
|
||||||
<Stack spacing={3}>
|
<Stack spacing={3}>
|
||||||
|
<Alert severity='primary'>Email : admin@linksehat.dev & Password : password</Alert>
|
||||||
{!!errors.afterSubmit && <Alert severity="error">{errors.afterSubmit.message}</Alert>}
|
{!!errors.afterSubmit && <Alert severity="error">{errors.afterSubmit.message}</Alert>}
|
||||||
|
|
||||||
<RHFTextField name="email" label="Email address" />
|
<RHFTextField name="email" label="Email address" />
|
||||||
|
|||||||
Reference in New Issue
Block a user