frontend: Add "name" and "email" field names to login form

This commit is contained in:
Paul Bienkowski 2021-02-17 22:30:54 +01:00
parent 1ab51fa578
commit 1fbd471341

View file

@ -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>