Pleasing the JSHint gods

This commit is contained in:
kevgliss
2015-07-21 13:36:03 -07:00
parent c75e20a1ea
commit a826bd16f7
14 changed files with 37 additions and 28 deletions

View File

@ -28,7 +28,7 @@ angular.module('lemur')
AuthenticationService.authenticate = function (provider) {
$auth.authenticate(provider)
.then(
function (user) {
function () {
UserService.getCurrentUser();
$rootScope.$emit('user:login');
$location.url('/certificates');
@ -56,7 +56,7 @@ angular.module('lemur')
body: 'You have been successfully logged out.'
});
$location.path('/');
})
});
};
});