Pleasing the JSHint gods
This commit is contained in:
@ -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('/');
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user