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