mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 10:06:26 +00:00
Add database columns to store OpenID Connect information for Proxy Hosts.
This commit is contained in:
@ -278,7 +278,7 @@
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<div class="form-group">
|
||||
<label class="custom-switch">
|
||||
<input type="checkbox" class="custom-switch-input" name="openidc_enabled" value="1<%- openidc_enabled ? ' checked' : '' %>">
|
||||
<input type="checkbox" class="custom-switch-input" name="openidc_enabled" value="1"<%- openidc_enabled ? ' checked' : '' %>>
|
||||
<span class="custom-switch-indicator"></span>
|
||||
<span class="custom-switch-description">Use OpenID Connect authentication <span class="form-required">*</span></span>
|
||||
</label>
|
||||
|
@ -132,7 +132,6 @@ module.exports = Mn.View.extend({
|
||||
},
|
||||
|
||||
'change @ui.openidc_enabled': function () {
|
||||
console.log('Changing');
|
||||
let checked = this.ui.openidc_enabled.prop('checked');
|
||||
|
||||
if (checked) {
|
||||
@ -367,6 +366,7 @@ module.exports = Mn.View.extend({
|
||||
|
||||
// OpenID Connect
|
||||
this.ui.openidc.hide().find('input').prop('required', false);
|
||||
this.ui.openidc_enabled.trigger('change');
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
|
Reference in New Issue
Block a user