Skip to content

Commit

Permalink
Merge pull request #3 from stan-kondrat/master
Browse files Browse the repository at this point in the history
typo fix 'localstorage' -> 'localStorage'
  • Loading branch information
akagadovskiy committed Feb 12, 2016
2 parents 934ffb1 + ccc1db6 commit f536a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ngAdminJWTAuth.run(['$q', 'Restangular', 'ngAdminJWTAuthService', '$http', '$loc
if (customAuthHeader) {
$http.defaults.headers.common[customAuthHeader.name] = customAuthHeader.template.replace('{{token}}', localStorage.userToken);
} else {
$http.defaults.headers.common.Authorization = 'Basic ' + localstorage.userToken;
$http.defaults.headers.common.Authorization = 'Basic ' + localStorage.userToken;
}
}
});
Expand Down

0 comments on commit f536a56

Please sign in to comment.