add more auth variables
This commit is contained in:
parent
b50640ff3c
commit
bc4ce2a7ff
2 changed files with 13 additions and 0 deletions
|
@ -142,6 +142,16 @@ allow_org_create = {{ server.allow_org_create|lower }}
|
|||
;auto_assign_org_role = Viewer
|
||||
auto_assign_org_role = {{ server.auto_assign_role }}
|
||||
|
||||
[auth]
|
||||
# Set to true to disable (hide) the login form, useful if you use OAuth
|
||||
disable_login_form = {{ server.auth.disable_login_form }}
|
||||
|
||||
# Set to true to disable the signout link in the side menu. useful if you use auth.proxy
|
||||
disable_signout_menu = {{ server.auth.disable_signout_menu }}
|
||||
|
||||
# URL to redirect the user to after sign out
|
||||
signout_redirect_url = {{ server.auth.signout_redirect_url }}
|
||||
|
||||
#################################### Anonymous Auth ##########################
|
||||
[auth.anonymous]
|
||||
{%- if server.auth.engine == 'anonymous' or server.auth.get('anonymous', {}).get('enabled', False) %}
|
||||
|
|
|
@ -19,6 +19,9 @@ Debian:
|
|||
session:
|
||||
engine: file
|
||||
auth:
|
||||
disable_login_form: false
|
||||
disable_signout_menu: false
|
||||
signout_redirect_url: ""
|
||||
engine: application
|
||||
ldap:
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in a new issue