KEYCLOAK-293 Fix generate new keys
This commit is contained in:
parent
325919e24a
commit
36515509c6
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ module.controller('RealmKeysDetailCtrl', function($scope, Realm, realm, $http, $
|
|||
|
||||
$scope.generate = function() {
|
||||
Dialog.confirmGenerateKeys($scope.realm.realm, 'realm', function() {
|
||||
Realm.update({ id: realm.realm, publicKey : 'GENERATE' }, function () {
|
||||
Realm.update({ realm: realm.realm, publicKey : 'GENERATE' }, function () {
|
||||
Notifications.success('New keys generated for realm.');
|
||||
Realm.get({ id : realm.realm }, function(updated) {
|
||||
$scope.realm = updated;
|
||||
|
|
Loading…
Reference in a new issue