Merged in feature/ui-add-user-active-as-default (pull request #111)

Feature/ui add user active as default
This commit is contained in:
René Pfeuffer
2018-11-15 14:36:56 +00:00

View File

@@ -38,7 +38,7 @@ class UserForm extends React.Component<Props, State> {
mail: "",
password: "",
admin: false,
active: false,
active: true,
_links: {}
},
mailValidationError: false,
@@ -73,7 +73,8 @@ class UserForm extends React.Component<Props, State> {
this.state.passwordConfirmationError ||
this.state.displayNameValidationError ||
this.isFalsy(user.name) ||
this.isFalsy(user.displayName)
this.isFalsy(user.displayName) ||
this.isFalsy(user.mail)
);
};