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

Commit 9864ce0

Browse files
committed
Added password sync option documentation.
1 parent bcb2e73 commit 9864ce0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

readme.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,3 +495,25 @@ if ($auth === true) {
495495

496496
return 'Login incorrect!';
497497
```
498+
499+
#### Password Synchronization
500+
501+
> **Note**: This feature was introduced in `v2.0.8`.
502+
> You must delete and re-publish your Adldap2 Auth configuration
503+
> for this option to be present.
504+
505+
The password sync option allows you to automatically synchronize
506+
users AD passwords to your local database. These passwords are
507+
hashed natively by laravel.
508+
509+
Enabling this option would also allow users to login to their
510+
accounts using the password last used when an AD connection
511+
was present.
512+
513+
If this option is disabled, the local user account is applied
514+
a random 16 character hashed password, and will lose access
515+
to this account upon loss of AD connectivity.
516+
517+
```php
518+
'password_sync' => env('ADLDAP_PASSWORD_SYNC', true),
519+
```

0 commit comments

Comments
 (0)