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:
Manuel Rego Casasnovas 2012-08-21 09:50:13 +02:00
parent 42dcaa3340
commit ad68bc0ff8

View file

@ -447,4 +447,12 @@ public class UserCRUDController extends BaseCRUDController<User> implements
return isLdapUser() || isUserDefaultAdmin();
}
public String getAuthenticationType() {
User user = getUser();
if (user != null) {
return _(user.getUserType());
}
return "";
}
}