Skip to content

Commit 1b1d67f

Browse files
committed
Add new option to doc comment.
1 parent f4aa65e commit 1b1d67f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Middleware/AuthenticationMiddleware.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class AuthenticationMiddleware
3939
* - `name` the application hook method to call. Will be prefixed with `authentication`
4040
* - `unauthenticatedRedirect` - The URL to redirect unauthenticated errors to. See
4141
* AuthenticationComponent::allowUnauthenticated()
42+
* - `queryParam` - Set to true to have unauthenticated redirects contain a `redirect` query string
43+
* parameter with the previously blocked URL.
4244
*/
4345
protected $_defaultConfig = [
4446
'identityAttribute' => 'identity',

0 commit comments

Comments
 (0)