Remove `type="email"` from username field in Register
As the username doesn't have to be an email, having email as the type is incorrect. This change also makes it more consistent with the way it is defined in the login form.
This commit is contained in:
parent
956d9025b4
commit
d5ab795e4c
|
|
@ -51,7 +51,6 @@ export default class RegistrationDialog extends Component<IProps, IState> {
|
||||||
className="name"
|
className="name"
|
||||||
label="Name *"
|
label="Name *"
|
||||||
name="username"
|
name="username"
|
||||||
type="email"
|
|
||||||
value={name}
|
value={name}
|
||||||
onChange={this.handleChange.bind(this, 'name')}
|
onChange={this.handleChange.bind(this, 'name')}
|
||||||
fullWidth
|
fullWidth
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue