We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d50425d commit 62b092aCopy full SHA for 62b092a
README.md
@@ -81,13 +81,12 @@ $authenticate = function (HttpKernelInterface $app, $anonymous) {
81
// * MUST return a response
82
};
83
84
-return (new Authentication($app, [
85
- 'challenge' => $challenge,
86
- 'check' => $check,
87
- 'authenticate' => $authenticate,
88
- 'anonymous' => true, // default: false
89
- ]))
90
- ->handle($request, $type, $catch);
+$app = new Authentication($app, [
+ 'challenge' => $challenge,
+ 'check' => $check,
+ 'authenticate' => $authenticate,
+ 'anonymous' => true, // default: false
+]);
91
```
92
93
### WwwAuthenticateStackChallenge Middleware
0 commit comments