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"
|
title="Users" title-icon="fa-user"
|
||||||
dataset="users" table-key="users"
|
dataset="users" table-key="users"
|
||||||
order-by="Username" show-text-filter="true"
|
order-by="Username" show-text-filter="true"
|
||||||
|
authentication-method="AuthenticationMethod"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
></users-datatable>
|
></users-datatable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span ng-if="item.Id === 1 || authenticationMethod !== 2">Internal</span>
|
<span ng-if="item.Id === 1 || $ctrl.authenticationMethod !== 2">Internal</span>
|
||||||
<span ng-if="item.Id !== 1 && authenticationMethod === 2">LDAP</span>
|
<span ng-if="item.Id !== 1 && $ctrl.authenticationMethod === 2">LDAP</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-if="!$ctrl.dataset">
|
<tr ng-if="!$ctrl.dataset">
|
||||||
|
|
|
@ -9,6 +9,7 @@ angular.module('ui').component('usersDatatable', {
|
||||||
orderBy: '@',
|
orderBy: '@',
|
||||||
reverseOrder: '<',
|
reverseOrder: '<',
|
||||||
showTextFilter: '<',
|
showTextFilter: '<',
|
||||||
removeAction: '<'
|
removeAction: '<',
|
||||||
|
authenticationMethod: '<'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue