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:
François Martin 2025-07-23 23:04:39 +02:00 committed by GitHub
parent 956d9025b4
commit d5ab795e4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

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