Skip to content

Commit

Permalink
Merge pull request #5 from arueckauer/bugfix/configuration-documention
Browse files Browse the repository at this point in the history
Fix interface name in configuration of authentication adapter
  • Loading branch information
froschdesign authored Mar 10, 2021
2 parents 217153c + 23a68b8 commit 1c99027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/book/v1/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ As an example of configuration:
```php
// config/autoload/authentication.global.php

use Mezzio\Authentication\AdapterInterface;
use Mezzio\Authentication\AuthenticationInterface;
use Mezzio\Authentication\Basic\BasicAccess;
use Mezzio\Authentication\UserRepositoryInterface;
use Mezzio\Authentication\UserRepository\PdoDatabase;
Expand All @@ -31,7 +31,7 @@ return [

// Tell mezzio-authentication to use the BasicAccess
// adapter:
AdapterInterface::class => BasicAccess::class,
AuthenticationInterface::class => BasicAccess::class,
],
],
'authentication' => [
Expand Down

0 comments on commit 1c99027

Please sign in to comment.