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.
2 parents 9ba4051 + dd9e716 commit 3460d78Copy full SHA for 3460d78
docs/en/index.rst
@@ -51,16 +51,16 @@ Example of configuring the authentication middleware using ``authentication`` ap
51
'password' => 'password'
52
];
53
54
- // Load identifiers
55
- $service->loadIdentifier('Authentication.Password', compact('fields'));
56
-
57
// Load the authenticators, you want session first
58
$service->loadAuthenticator('Authentication.Session');
59
$service->loadAuthenticator('Authentication.Form', [
60
'fields' => $fields,
61
'loginUrl' => '/users/login'
62
]);
63
+ // Load identifiers
+ $service->loadIdentifier('Authentication.Password', compact('fields'));
+
64
return $service;
65
}
66
0 commit comments