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

Commit 8dfba9f

Browse files
committed
Corrections
1 parent 2aa9878 commit 8dfba9f

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

docs/auth.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,10 +645,10 @@ If this option is disabled, the local user account is applied
645645
a random 16 character hashed password, and will lose access
646646
to 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
676676
To 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
783783
You 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

789801
If a user is logged into a domain joined computer and is visiting your website with windows

0 commit comments

Comments
 (0)