mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-13 09:06:41 +00:00
docs: update auth placeholder comment
This commit is contained in:
parent
c87accc9d7
commit
c67c8a2023
1 changed files with 2 additions and 2 deletions
|
|
@ -32,10 +32,10 @@ func init() {
|
|||
// Authentication is a middleware which provides user authentication.
|
||||
// Rejects requests with HTTP 401 if the request is not authenticated.
|
||||
//
|
||||
// After a successful authentication, the placeholder
|
||||
// When an authentication provider returns user information, the placeholder
|
||||
// `{http.auth.user.id}` will be set to the username, and also
|
||||
// `{http.auth.user.*}` placeholders may be set for any authentication
|
||||
// modules that provide user metadata.
|
||||
// modules that provide user metadata, even if authentication is rejected.
|
||||
//
|
||||
// In case of an error, the placeholder `{http.auth.<provider>.error}`
|
||||
// will be set to the error message returned by the authentication
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue