mirror of https://github.com/portainer/portainer
fix(users): fix invalid Authentication value (#1528)
parent
e0b09f20b0
commit
eec10541b3
|
@ -118,6 +118,7 @@
|
|||
title="Users" title-icon="fa-user"
|
||||
dataset="users" table-key="users"
|
||||
order-by="Username" show-text-filter="true"
|
||||
authentication-method="AuthenticationMethod"
|
||||
remove-action="removeAction"
|
||||
></users-datatable>
|
||||
</div>
|
||||
|
|
|
@ -70,8 +70,8 @@
|
|||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<span ng-if="item.Id === 1 || authenticationMethod !== 2">Internal</span>
|
||||
<span ng-if="item.Id !== 1 && authenticationMethod === 2">LDAP</span>
|
||||
<span ng-if="item.Id === 1 || $ctrl.authenticationMethod !== 2">Internal</span>
|
||||
<span ng-if="item.Id !== 1 && $ctrl.authenticationMethod === 2">LDAP</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr ng-if="!$ctrl.dataset">
|
||||
|
|
|
@ -9,6 +9,7 @@ angular.module('ui').component('usersDatatable', {
|
|||
orderBy: '@',
|
||||
reverseOrder: '<',
|
||||
showTextFilter: '<',
|
||||
removeAction: '<'
|
||||
removeAction: '<',
|
||||
authenticationMethod: '<'
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue