Skip to content
Snippets Groups Projects
Commit 738b530a authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

Set the default value for isLocalUser in userInfo

parent 649c6df0
No related branches found
No related tags found
No related merge requests found
......@@ -217,13 +217,6 @@ public class UserInfoController extends CrudEntityController<UserInfo, UserInfoF
return super.getAvailableItems();
}
// @Override
// public String prepareCreate() {
// current = createEntityInstance();
// current.setIsLocalUser(true);
// return "create?faces-redirect=true";
// }
//
@Override
public String prepareEdit(UserInfo user) {
passwordEntry = null;
......
......@@ -91,7 +91,7 @@ public class UserInfo extends CloneableEntity
private String password;
@NotNull
@Column(name = "is_local_user")
private boolean isLocalUser;
private boolean isLocalUser = true;
@ManyToMany(mappedBy = "userInfoList")
private List<RoleType> roleTypeList;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "userInfo")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment