Update LDAP config for #2085

This commit is contained in:
James Cole 2019-02-15 07:39:12 +01:00
parent 0782354160
commit 19710c3eab
2 changed files with 23 additions and 5 deletions

View File

@ -164,7 +164,8 @@ return [
| |
*/ */
'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')), //'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
'hosts' => explode(' ', env('ADLDAP_CONTROLLERS', '127.0.0.1')),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -219,8 +220,10 @@ return [
| |
*/ */
'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''), //'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''),
'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''), //'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''),
'username' => env('ADLDAP_ADMIN_USERNAME', ''),
'password' => env('ADLDAP_ADMIN_PASSWORD', ''),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@ -77,6 +77,21 @@ return [
'provider' => Adldap\Laravel\Auth\DatabaseUserProvider::class, 'provider' => Adldap\Laravel\Auth\DatabaseUserProvider::class,
//'provider' => Adldap\Laravel\Auth\NoDatabaseUserProvider::class, //'provider' => Adldap\Laravel\Auth\NoDatabaseUserProvider::class,
/*
|--------------------------------------------------------------------------
| Model
|--------------------------------------------------------------------------
|
| The model to utilize for authentication and importing.
|
| This option is only applicable to the DatabaseUserProvider.
|
*/
'model' => FireflyIII\User::class,
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Rules | Rules