diff --git a/modules/Authentication/Authenticated.js b/modules/Authentication/Authenticated.js index 74b3adb..f6ff0cc 100644 --- a/modules/Authentication/Authenticated.js +++ b/modules/Authentication/Authenticated.js @@ -12,7 +12,7 @@ module.config(function($stateProvider) templateUrl: 'modules/Authenticated/Authenticated.html', abstract: true, resolve: { - authenticatedUser: (User, Authentication, $state, $q, $http) => { + user: (User, Authentication, $state, $q) => { return Authentication.checkCredentials().then((response) => { return new User(response.data); }, (error) => {