mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
fix: actually store OIDC logout URL (#988)
This commit is contained in:
parent
e7d5a3aba0
commit
c7b4aa3434
@ -986,6 +986,8 @@ def setting_authentication():
|
|||||||
request.form.get('oidc_oauth_token_url'))
|
request.form.get('oidc_oauth_token_url'))
|
||||||
Setting().set('oidc_oauth_authorize_url',
|
Setting().set('oidc_oauth_authorize_url',
|
||||||
request.form.get('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',
|
Setting().set('oidc_oauth_username',
|
||||||
request.form.get('oidc_oauth_username'))
|
request.form.get('oidc_oauth_username'))
|
||||||
Setting().set('oidc_oauth_firstname',
|
Setting().set('oidc_oauth_firstname',
|
||||||
|
@ -626,7 +626,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="oidc_oauth_logout_url">Logout URL</label>
|
<label for="oidc_oauth_logout_url">Logout URL</label>
|
||||||
<input type="text" class="form-control" name="oidc_oauth_logout_url" id="oidc_oauth_authorize_url" placeholder="e.g. https://oidc.com/login/oauth/logout" data-error="Please input Logout URL" value="{{ SETTING.get('oidc_oauth_logout_url') }}">
|
<input type="text" class="form-control" name="oidc_oauth_logout_url" id="oidc_oauth_logout_url" placeholder="e.g. https://oidc.com/login/oauth/logout" data-error="Please input Logout URL" value="{{ SETTING.get('oidc_oauth_logout_url') }}">
|
||||||
<span class="help-block with-errors"></span>
|
<span class="help-block with-errors"></span>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
Loading…
Reference in New Issue
Block a user