feat: add option to control login and logout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-02-28 22:02:29 +01:00
parent 92ad7864c2
commit 5d7f4f4168
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 2 deletions

View File

@ -47,6 +47,9 @@ grafana_smtp_port: 587
# @var grafana_smtp_username: $ "_unset_"
# @var grafana_smtp_password: $ "_unset_"
grafana_login_form_enabled: True
grafana_logout_menu_enabled: True
grafana_auth_providers: []
grafana_log_mode:

View File

@ -97,8 +97,8 @@ login_maximum_lifetime_duration = 30d
token_rotation_interval_minutes = 10
disable_login_form = false
disable_signout_menu = false
disable_login_form = {{ not grafana_login_form_enabled | bool | lower }}
disable_signout_menu = {{ not grafana_logout_menu_enabled | bool | lower }}
oauth_auto_login = false
oauth_state_cookie_max_age = 600