admin: Fix OAuth settings display
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3c31a9d4b4
commit
08afde34a8
1 changed files with 3 additions and 2 deletions
|
@ -958,12 +958,13 @@ angular.module("FICApp")
|
|||
})
|
||||
|
||||
.controller("OAuthController", function ($scope, $http) {
|
||||
$scope.oauth_status = {};
|
||||
$scope.refreshOAuthStatus = function () {
|
||||
$http.get("api/oauth-status").then(function (res) {
|
||||
$scope.oauth_status = response.data;
|
||||
$scope.oauth_status = res.data;
|
||||
});
|
||||
|
||||
};
|
||||
$scope.refreshOAuthStatus();
|
||||
|
||||
$scope.genDexCfg = function () {
|
||||
$http.post("api/dex.yaml").then(function () {
|
||||
|
|
Reference in a new issue