diff --git a/webadmin/src/views/account.html b/webadmin/src/views/account.html index 9160046e2..8349dea77 100644 --- a/webadmin/src/views/account.html +++ b/webadmin/src/views/account.html @@ -142,6 +142,24 @@ + + +
@@ -198,7 +216,9 @@
-

{{client.name}} on {{client.location}}{{ config.isCustomDomain ? '.' : '-' }}{{config.fqdn}}

+

+ {{client.name}} on {{client.location}}{{ config.isCustomDomain ? '.' : '-' }}{{config.fqdn}} +

@@ -212,9 +232,10 @@

Credentials

-

Permissions: {{ client.scope }}

+

Scope: {{ client.scope }}

Client ID: {{ client.id }}

Client Secret: {{ client.clientSecret }}

+
diff --git a/webadmin/src/views/account.js b/webadmin/src/views/account.js index 629985894..bd075a707 100644 --- a/webadmin/src/views/account.js +++ b/webadmin/src/views/account.js @@ -205,6 +205,25 @@ angular.module('Application').controller('AccountController', ['$scope', '$locat } }; + $scope.clientRemove = { + busy: false, + client: {}, + + show: function (client) { + $scope.clientRemove.busy = true; + $scope.clientRemove.client = client; + $('#clientRemoveModal').modal('show'); + }, + + submit: function () { + $scope.clientRemove.busy = true; + + $scope.clientRemove.busy = false; + + $('#clientRemoveModal').modal('hide'); + } + }; + $scope.removeAccessTokens = function (client) { client.busy = true;