Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit b22d52a

Browse files
committed
Encourage use of env.
1 parent d837141 commit b22d52a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Config/auth.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
|
1414
*/
1515

16-
'connection' => 'default',
16+
'connection' => env('ADLDAP_CONNECTION', 'default'),
1717

1818
/*
1919
|--------------------------------------------------------------------------
@@ -46,7 +46,7 @@
4646
|
4747
*/
4848

49-
'limitation_filter' => '',
49+
'limitation_filter' => env('ADLDAP_LIMITATION_FILTER', ''),
5050

5151
/*
5252
|--------------------------------------------------------------------------
@@ -60,7 +60,7 @@
6060
|
6161
*/
6262

63-
'login_fallback' => false,
63+
'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', false),
6464

6565
/*
6666
|--------------------------------------------------------------------------
@@ -74,7 +74,7 @@
7474
|
7575
*/
7676

77-
'password_key' => 'password',
77+
'password_key' => env('ADLDAP_PASSWORD_KEY', 'password'),
7878

7979
/*
8080
|--------------------------------------------------------------------------
@@ -87,7 +87,7 @@
8787
|
8888
*/
8989

90-
'login_attribute' => 'samaccountname',
90+
'login_attribute' => env('ADLDAP_LOGIN_ATTRIBUTE', 'samaccountname'),
9191

9292
/*
9393
|--------------------------------------------------------------------------
@@ -108,7 +108,7 @@
108108
|
109109
*/
110110

111-
'bind_user_to_model' => false,
111+
'bind_user_to_model' => env('ADLDAP_BIND_USER_TO_MODEL', false),
112112

113113
/*
114114
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)