Add database columns to store OpenID Connect information for Proxy Hosts.

This commit is contained in:
Subv
2020-05-22 12:31:03 -05:00
committed by Jamie Curnow
parent 8e10b7da37
commit 53792a5cf7
6 changed files with 148 additions and 7 deletions

View File

@ -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>

View File

@ -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) {