fix create realm
This commit is contained in:
parent
0fcebb8670
commit
b1a480c20d
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ module.controller('RealmCreateCtrl', function($scope, Current, Realm, $upload, $
|
|||
Realm.query(function(data) {
|
||||
Current.realms = data;
|
||||
|
||||
$http.get(authUrl + '/admin/whoami').success(function(user) {
|
||||
WhoAmI.get(function(user) {
|
||||
Auth.user = user;
|
||||
|
||||
$location.url("/realms/" + realmCopy.realm);
|
||||
|
|
Loading…
Reference in a new issue