@@ -645,10 +645,10 @@ If this option is disabled, the local user account is applied
645645a random 16 character hashed password, and will lose access
646646to this account upon loss of AD connectivity.
647647
648- This feature is enabled by default.
648+ This feature is disabled by default.
649649
650650``` php
651- 'password_sync' => env('ADLDAP_PASSWORD_SYNC', true ),
651+ 'password_sync' => env('ADLDAP_PASSWORD_SYNC', false ),
652652```
653653
654654### Events
@@ -676,7 +676,7 @@ driver if LDAP authentication fails. This option would be handy in environments
676676To enable it, simply set the option to true in your ` config/adldap_auth.php ` configuration file:
677677
678678``` php
679- 'login_fallback' => false , // Set to true.
679+ 'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', true) , // Set to true.
680680```
681681
682682#### Developing Locally without an AD connection
@@ -783,7 +783,19 @@ with a random 16 character string password and then automatically logged in. Nea
783783You can configure the attributes users are logged in by in your configuration:
784784
785785``` php
786- 'windows_auth_attribute' => ['samaccountname' => 'AUTH_USER'],
786+ 'usernames' => [
787+
788+ //..//
789+
790+ 'windows' => [
791+
792+ 'discover' => 'samaccountname',
793+
794+ 'key' => 'AUTH_USER',
795+
796+ ],
797+
798+ ],
787799```
788800
789801If a user is logged into a domain joined computer and is visiting your website with windows
0 commit comments