docs/vmauth.md: mention that multiple recrods for the same username are supported

This is a follow-up for 88029c521c
This commit is contained in:
Aliaksandr Valialkin 2022-07-19 19:42:36 +03:00
parent 88029c521c
commit 22fc7e0e04
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1
3 changed files with 6 additions and 3 deletions

View File

@ -36,7 +36,8 @@ Each `url_prefix` in the [-auth.config](#auth-config) may contain either a singl
```yml ```yml
# Arbitrary number of usernames may be put here. # Arbitrary number of usernames may be put here.
# Username and bearer_token values must be unique. # It is possible to set multiple identical usernames with different passwords.
# Such usernames can be differentiated by `name` option.
users: users:
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX' # Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'

View File

@ -1,5 +1,6 @@
# Arbitrary number of usernames may be put here. # Arbitrary number of usernames may be put here.
# Username and bearer_token values must be unique. # It is possible to set multiple identical usernames with different passwords.
# Such usernames can be differentiated by `name` option.
users: users:
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX' # Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'

View File

@ -40,7 +40,8 @@ Each `url_prefix` in the [-auth.config](#auth-config) may contain either a singl
```yml ```yml
# Arbitrary number of usernames may be put here. # Arbitrary number of usernames may be put here.
# Username and bearer_token values must be unique. # It is possible to set multiple identical usernames with different passwords.
# Such usernames can be differentiated by `name` option.
users: users:
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX' # Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'