From c7b4aa3434a3ab7df60e551e0bbffa05c17ea784 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 5 Nov 2021 16:28:21 +0100 Subject: [PATCH] fix: actually store OIDC logout URL (#988) --- powerdnsadmin/routes/admin.py | 2 ++ powerdnsadmin/templates/admin_setting_authentication.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/admin.py b/powerdnsadmin/routes/admin.py index 5960c4d..d9b3dcc 100644 --- a/powerdnsadmin/routes/admin.py +++ b/powerdnsadmin/routes/admin.py @@ -986,6 +986,8 @@ def setting_authentication(): request.form.get('oidc_oauth_token_url')) Setting().set('oidc_oauth_authorize_url', request.form.get('oidc_oauth_authorize_url')) + Setting().set('oidc_oauth_logout_url', + request.form.get('oidc_oauth_logout_url')) Setting().set('oidc_oauth_username', request.form.get('oidc_oauth_username')) Setting().set('oidc_oauth_firstname', diff --git a/powerdnsadmin/templates/admin_setting_authentication.html b/powerdnsadmin/templates/admin_setting_authentication.html index 640c5ca..cec65f5 100644 --- a/powerdnsadmin/templates/admin_setting_authentication.html +++ b/powerdnsadmin/templates/admin_setting_authentication.html @@ -626,7 +626,7 @@
- +