mirror of
https://github.com/gotify/server.git
synced 2026-07-01 01:44:21 +08:00
Remove type="email" from username field in AddEditUserDialog
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:
@@ -54,7 +54,6 @@ export default class AddEditDialog extends Component<IProps, IState> {
|
||||
margin="dense"
|
||||
className="name"
|
||||
label="Name *"
|
||||
type="email"
|
||||
value={name}
|
||||
name="username"
|
||||
id="username"
|
||||
|
||||
Reference in New Issue
Block a user