make display name mandatory (remove optional string)

pull/691/head
Audric Ackermann 5 years ago
parent 5e67c28132
commit 818cfc6dd3

@ -2318,8 +2318,8 @@
"displayName": {
"message": "Display Name"
},
"enterOptionalDisplayName": {
"message": "Enter Optional Display Name"
"enterDisplayName": {
"message": "Enter Display Name"
},
"optionalPassword": {
"message": "Optional Password"

@ -309,7 +309,7 @@ export class RegistrationTabs extends React.Component<Props, State> {
<SessionInput
label={i18n('displayName')}
type="text"
placeholder={i18n('enterOptionalDisplayName')}
placeholder={i18n('enterDisplayName')}
value={this.state.displayName}
onValueChanged={(val: string) => {
this.onDisplayNameChanged(val);

Loading…
Cancel
Save