providers/proxy: update phrasing for basic_auth_* attributes

closes #265
This commit is contained in:
Jens Langhammer
2020-10-07 19:22:30 +02:00
parent 7a578e5e83
commit c1eb8317f7
3 changed files with 49 additions and 14 deletions

View File

@ -75,19 +75,21 @@ class ProxyProvider(OutpostModel, OAuth2Provider):
)
basic_auth_user_attribute = models.TextField(
blank=True,
verbose_name=_("HTTP-Basic Username"),
verbose_name=_("HTTP-Basic Username Key"),
help_text=_(
(
"User Attribute used for the user part of the HTTP-Basic Header. "
"User/Group Attribute used for the user part of the HTTP-Basic Header. "
"If not set, the user's Email address is used."
)
),
)
basic_auth_password_attribute = models.TextField(
blank=True,
verbose_name=_("HTTP-Basic Password"),
verbose_name=_("HTTP-Basic Password Key"),
help_text=_(
("User Attribute used for the password part of the HTTP-Basic Header.")
(
"User/Group Attribute used for the password part of the HTTP-Basic Header."
)
),
)