Add default credentials
This commit is contained in:
parent
0b9c283bb7
commit
47bd37e6ad
1 changed files with 7 additions and 1 deletions
|
@ -54,7 +54,13 @@ const LoginCard: React.FC<LoginCardProps> = props => {
|
|||
const intl = useIntl();
|
||||
|
||||
return (
|
||||
<Form initial={{ email: "", password: "" }} onSubmit={onSubmit}>
|
||||
<Form
|
||||
initial={{
|
||||
email: "admin@example.com",
|
||||
password: "admin"
|
||||
}}
|
||||
onSubmit={onSubmit}
|
||||
>
|
||||
{({ change: handleChange, data, submit: handleSubmit }) => (
|
||||
<>
|
||||
{error && (
|
||||
|
|
Loading…
Reference in a new issue