diff --git a/src/login/index.js b/src/login/index.js index a6fc331..cc8ef35 100644 --- a/src/login/index.js +++ b/src/login/index.js @@ -89,12 +89,10 @@ var loginModule = angular.module('accountant.login', [ return sessionInjector; }) -.config(function($httpProvider) { +.config(function($httpProvider, $storageProvider) { // Define interceptors. $httpProvider.interceptors.push('sessionInjector'); -}) -.config(function($storageProvider) { // Configure storage // Set global prefix for stored keys $storageProvider.setPrefix('accountant');