Skip to content

Commit 6e75d68

Browse files
authored
Update AuthenticationPlugin.md
1 parent 187ed50 commit 6e75d68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/AuthenticationPlugin.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use Authentication\Middleware\AuthenticationMiddleware;
1818
$middlewareQueue->add(new AuthenticationMiddleware($this));
1919
```
2020

21-
This plugin ships with an improved session authenticator:
21+
This plugin ships with an improved session authenticator that is optional:
2222

2323
- PrimaryKeySession authenticator (extending the Authentication.Session one):
2424
stores only the ID and fetches the rest from DB (keeping it always up to date)
@@ -28,6 +28,8 @@ It also ships with an enhanced redirect handler:
2828
- ForbiddenCakeRedirect: Allows an `unauthorizedMessage` to be set as error flash message.
2929

3030

31+
You can, of course, stick to the official ones, as well.
32+
3133
Now let's set up `getAuthenticationService()` and make sure to load all needed Authenticators, e.g.:
3234

3335
```php

0 commit comments

Comments
 (0)