This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -433,3 +433,28 @@ protected $middlewareGroups = [
433433
434434Now when you visit your site, a user account will be created (if one doesn't exist already)
435435with a random password and then automatically logged in. Neat huh?
436+
437+ #### Login Limitation Filter
438+
439+ > ** Note** : This feature was introduced in ` v1.4.6 ` . You will need to re-publish the Adldap Auth configuration file
440+ to receive this option.
441+
442+ Inside of your ` config/adldap_auth.php ` configuration, you can now insert a raw LDAP filter to specify what users are allowed to authenticate.
443+
444+ For example, to allow only users with an email address, insert the filter: ` (mail=*) ` :
445+
446+ ``` php
447+ /*
448+ |--------------------------------------------------------------------------
449+ | Limitation Filter
450+ |--------------------------------------------------------------------------
451+ |
452+ | The limitation filter allows you to enter a raw filter to only allow
453+ | specific users / groups / ous to authenticate.
454+ |
455+ | This should be a standard LDAP filter.
456+ |
457+ */
458+
459+ 'limitation_filter' => '(mail=*)',
460+ ```
You can’t perform that action at this time.
0 commit comments