frontend: Add "name" and "email" field names to login form
This commit is contained in:
parent
1ab51fa578
commit
1fbd471341
|
@ -44,11 +44,11 @@ const LoginForm = connect(
|
||||||
<Form className={className} onSubmit={onSubmit}>
|
<Form className={className} onSubmit={onSubmit}>
|
||||||
<Form.Field>
|
<Form.Field>
|
||||||
<label>e-Mail</label>
|
<label>e-Mail</label>
|
||||||
<input value={email} onChange={onChangeEmail} />
|
<input value={email} onChange={onChangeEmail} name='email' />
|
||||||
</Form.Field>
|
</Form.Field>
|
||||||
<Form.Field>
|
<Form.Field>
|
||||||
<label>Password</label>
|
<label>Password</label>
|
||||||
<input type="password" value={password} onChange={onChangePassword} />
|
<input type="password" value={password} onChange={onChangePassword} name='password' />
|
||||||
</Form.Field>
|
</Form.Field>
|
||||||
<Button type="submit">Submit</Button>
|
<Button type="submit">Submit</Button>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
Loading…
Reference in a new issue