This commit is contained in:
aj 2017-08-14 20:04:44 +00:00
parent b3c6a7c54f
commit a7d93827d1
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,5 @@
app.controller('HomeController', [ app.controller('HomeController', [
'$rootScope', '$scope', 'Auth', 'localStorageService', '$location', 'azp@oauth.org' '$rootScope', '$scope', 'Auth', 'localStorageService', '$location', 'azp@oauth3.org'
, function ($rootScope, $scope, Auth, localStorageService, $location, Oauth3) { , function ($rootScope, $scope, Auth, localStorageService, $location, Oauth3) {
var vm = this; var vm = this;
@ -12,11 +12,9 @@ app.controller('HomeController', [
$location.path('/splash-page'); $location.path('/splash-page');
}; };
vm.userName = function(profile){ vm.userName = function(profile){
profile = Auth.getProfile(); profile = Auth.getProfile();
return profile.email; return profile.email;
}; };
}]); }]);