admin: Generate Vouch-Proxy config
This commit is contained in:
parent
81d272c5b2
commit
24e825d500
5 changed files with 96 additions and 16 deletions
|
@ -2396,6 +2396,12 @@ angular.module("FICApp")
|
|||
}, function(response) {
|
||||
$scope.addToast('danger', 'An error occurs when generating dex config:', response.data.errmsg);
|
||||
});
|
||||
$http.post("api/vouch.yaml").then(function() {
|
||||
$scope.addToast('success', 'VouchProxy config refreshed.', "Don't forget to reload/reboot frontend host.");
|
||||
}, function(response) {
|
||||
$scope.addToast('danger', 'An error occurs when generating VouchProxy config:', response.data.errmsg);
|
||||
});
|
||||
});
|
||||
}
|
||||
$scope.desactiveTeams = function() {
|
||||
$http.post("api/disableinactiveteams").then(function() {
|
||||
|
|
Reference in a new issue