Add method getAuthenticationType() to avoid problems in edit window
Due to change in commit f5d99cdb82 the method
UserCRUDController.getAuthenticationType() was removed and it was still being
used in _editUser.zul.
This commit is contained in:
parent
42dcaa3340
commit
ad68bc0ff8
1 changed files with 8 additions and 0 deletions
|
|
@ -447,4 +447,12 @@ public class UserCRUDController extends BaseCRUDController<User> implements
|
||||||
return isLdapUser() || isUserDefaultAdmin();
|
return isLdapUser() || isUserDefaultAdmin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getAuthenticationType() {
|
||||||
|
User user = getUser();
|
||||||
|
if (user != null) {
|
||||||
|
return _(user.getUserType());
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue