redid a few things. should be good now :)

This commit is contained in:
Godfrey M 2022-12-15 10:45:42 -08:00
parent 3ee413f379
commit 2e228ccb0b
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ class AddsLdapDefaultGroupToSettingsTable extends Migration
{
Schema::table('settings', function (Blueprint $table) {
$table->integer('ldap_default_group')
->after('ldap_basedn');
->after('ldap_basedn')->default(null);
});
}

View file

@ -76,7 +76,7 @@ return [
'laravel' => 'Laravel Version',
'ldap' => 'LDAP',
'ldap_default_group' => 'Default Permissions Group',
'ldap_default_group_info' => 'Select a group to assign to newly synced users, remember that a user takes on the permissions of the group they are assigned.',
'ldap_default_group_info' => 'Select a group to assign to newly synced users. Remember that a user takes on the permissions of the group they are assigned.',
'ldap_help' => 'LDAP/Active Directory',
'ldap_client_tls_key' => 'LDAP Client TLS Key',
'ldap_client_tls_cert' => 'LDAP Client-Side TLS Certificate',

View file

@ -118,7 +118,7 @@
id="ldap_default_group"
class="form-control"
>
<option></option>
@foreach ($groups as $id => $group)
<option value="{{ $id }}">
{{ $group }}