mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Add setting for configurable login redirect URL
This commit is contained in:
@@ -62,3 +62,14 @@ register(
|
|||||||
category=_('Authentication'),
|
category=_('Authentication'),
|
||||||
category_slug='authentication',
|
category_slug='authentication',
|
||||||
)
|
)
|
||||||
|
register(
|
||||||
|
'LOGIN_REDIRECT_OVERRIDE',
|
||||||
|
field_class=fields.CharField,
|
||||||
|
allow_blank=True,
|
||||||
|
required=False,
|
||||||
|
label=_('Login redirect override URL'),
|
||||||
|
help_text=_('URL to which unauthorized users will be redirected to log in. '
|
||||||
|
'If blank, users will be sent to the Tower login page.'),
|
||||||
|
category=_('Authentication'),
|
||||||
|
category_slug='authentication',
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user