Authentication type not editable
FEA: ItEr74S09LdapAuhentication
This commit is contained in:
parent
9bcabf9e0d
commit
1f7309f526
2 changed files with 3 additions and 3 deletions
|
|
@ -288,7 +288,7 @@ public class User extends BaseEntity implements IHumanIdentifiable{
|
|||
|
||||
public String getAuthenticationMethod() {
|
||||
if (isLibrePlanUser())
|
||||
return "LibrePlan";
|
||||
return "Database";
|
||||
return "LDAP";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue