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

Commit 77051ac

Browse files
committed
More tweaks.
1 parent 9891974 commit 77051ac

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/auth/providers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ echo $user->email;
3838

3939
The `NoDatabaseUserProvider` allows you to authenticate LDAP users without synchronizing them.
4040

41-
> **Note**: You will have to re-write the default Laravel views that
42-
> are generated with the `php artisan make:auth` command.
41+
> **Note**: You will have to re-write the default Laravel views that are generated
42+
> with the `php artisan make:auth` command if you utilize this provider.
4343
4444
To use it, insert it in your `config/adldap_auth.php` in the `provider` option:
4545

docs/auth/scopes.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ use Adldap\Laravel\Scopes\ScopeInterface;
2222

2323
class AccountingScope implements ScopeInterface
2424
{
25+
/**
26+
* Apply the scope to a given LDAP query builder.
27+
*
28+
* @param Builer $builder
29+
*
30+
* @return void
31+
*/
2532
public function apply(Builder $query)
2633
{
2734
// The distinguished name of our LDAP group.
@@ -51,4 +58,4 @@ Now that we've created our scope (`app/Scopes/AccountingScope.php`), we can inse
5158
```
5259

5360
Once you've inserted your scope into the configuration file, you will now only be able
54-
to authenticate with users that are a member of the `Accounting` group.
61+
to authenticate with users that are a member of the `Accounting` group.

0 commit comments

Comments
 (0)