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.Field>
|
||||
<label>e-Mail</label>
|
||||
<input value={email} onChange={onChangeEmail} />
|
||||
<input value={email} onChange={onChangeEmail} name='email' />
|
||||
</Form.Field>
|
||||
<Form.Field>
|
||||
<label>Password</label>
|
||||
<input type="password" value={password} onChange={onChangePassword} />
|
||||
<input type="password" value={password} onChange={onChangePassword} name='password' />
|
||||
</Form.Field>
|
||||
<Button type="submit">Submit</Button>
|
||||
</Form>
|
||||
|
|
Loading…
Reference in a new issue