oidc: use better json based file store for objects
This commit is contained in:
@@ -709,6 +709,14 @@ angular.module('Application').controller('ProfileController', ['$scope', '$trans
|
||||
}
|
||||
};
|
||||
|
||||
$scope.logoutFromAll = function () {
|
||||
Client.destroyOidcSession(function (error) {
|
||||
if (error) console.error('Failed to destroy oidc session', error);
|
||||
|
||||
$scope.tokens.revokeAllWebAndCliTokens();
|
||||
});
|
||||
};
|
||||
|
||||
Client.onReady(function () {
|
||||
$scope.appPassword.refresh();
|
||||
$scope.tokens.refresh();
|
||||
|
||||
Reference in New Issue
Block a user