diff --git a/app/templates/client/components/auth(auth)/auth.service(coffee).coffee b/app/templates/client/components/auth(auth)/auth.service(coffee).coffee index 699d49dd4..d4b07f6d7 100644 --- a/app/templates/client/components/auth(auth)/auth.service(coffee).coffee +++ b/app/templates/client/components/auth(auth)/auth.service(coffee).coffee @@ -1,6 +1,6 @@ 'use strict' -angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootScope, $http, User, $cookieStore, $q) -> +angular.module('<%= scriptAppName %>').factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) -> currentUser = {} currentUser = User.get() if $cookieStore.get('token') @@ -113,4 +113,4 @@ angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootS Get auth token ### getToken: -> - $cookieStore.get 'token' \ No newline at end of file + $cookieStore.get 'token'