mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-17 23:14:33 +00:00
Add support for writing client CAs when access-lists are updated
This commit adds the basic support necessary to produce the combined client CA files when certificates are updated.
This commit is contained in:
@ -73,7 +73,7 @@ module.exports = Mn.View.extend({
|
||||
e.preventDefault();
|
||||
let query = this.ui.query.val();
|
||||
|
||||
this.fetch(['owner', 'items', 'clients', 'clientcas'], query)
|
||||
this.fetch(['owner', 'items', 'clients', 'clientcas.certificate'], query)
|
||||
.then(response => this.showData(response))
|
||||
.catch(err => {
|
||||
this.showError(err);
|
||||
@ -88,7 +88,7 @@ module.exports = Mn.View.extend({
|
||||
onRender: function () {
|
||||
let view = this;
|
||||
|
||||
view.fetch(['owner', 'items', 'clients', 'clientcas'])
|
||||
view.fetch(['owner', 'items', 'clients', 'clientcas.certificate'])
|
||||
.then(response => {
|
||||
if (!view.isDestroyed()) {
|
||||
if (response && response.length) {
|
||||
|
Reference in New Issue
Block a user