diff --git a/src/login/index.js b/src/login/index.js index 9723cfa..450c26d 100644 --- a/src/login/index.js +++ b/src/login/index.js @@ -148,6 +148,7 @@ module.exports = angular.module('accountant.login', [ $rootScope.$on('$destroy', function() { onAuthLoginRequired = angular.noop(); + onAuthLoginCancelled = angular.noop(); }); })