This commit is contained in:
Godfrey M 2022-08-31 09:53:20 -07:00
parent 0c362e8b57
commit 70ac8af9c4
2 changed files with 6 additions and 7 deletions

View file

@ -218,8 +218,7 @@ class LdapSync extends Command
if($item->ldap_default_group != null){
$permissions_array = $item['ldap_default_group'];
$user->permissions= json_encode($permissions_array);
$user->permissions= $item['ldap_default_group'];
}

View file

@ -92,8 +92,8 @@
</div>
<!-- Default LDAP Permissions Group Select -->
<div class="form-group{{ $errors->has('groups') ? ' has-error' : '' }}">
<label class="col-md-3 control-label" for="groups[]"> {{ trans('general.groups') }}</label>
<div class="form-group{{ $errors->has('group') ? ' has-error' : '' }}">
<label class="col-md-3 control-label" for="group"> {{ trans('general.groups') }}</label>
<div class="col-md-6">
@if ($groups->count())
@ -109,9 +109,9 @@
@else
<div class="controls">
<select
name="groups[]"
aria-label="groups[]"
id="groups[]"
name="group"
aria-label="group"
id="group"
multiple="multiple"
class="form-control">