Authentication type not editable

FEA: ItEr74S09LdapAuhentication
This commit is contained in:
Ignacio Diaz Teijido 2011-11-15 20:26:45 +01:00 committed by Manuel Rego Casasnovas
parent 9bcabf9e0d
commit 1f7309f526
2 changed files with 3 additions and 3 deletions

View file

@ -288,7 +288,7 @@ public class User extends BaseEntity implements IHumanIdentifiable{
public String getAuthenticationMethod() {
if (isLibrePlanUser())
return "LibrePlan";
return "Database";
return "LDAP";
}

View file

@ -78,8 +78,8 @@
value="@{controller.user.email}" width="300px"/>
</row>
<row>
<label value="${i18n:_('LibrePlan user')}" />
<checkbox id="libreplanUser" checked="@{controller.user.librePlanUser}" />
<label value="${i18n:_('Authentication type')}" />
<label value="@{controller.user.authenticationMethod}" />
</row>
</rows>
</grid>