From 50c5da573bdde546f019319ccc0ff5a9143b8df9 Mon Sep 17 00:00:00 2001 From: Eri Jonhson Date: Sun, 1 Oct 2017 01:35:58 -0300 Subject: [PATCH] Fix problem with cookies I had the same problem as described here: https://github.com/lynndylanhurley/ng-token-auth/issues/285 Fix it the same way. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e40426b2..87331d28 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ angular.module('myApp', ['ng-token-auth']) passwordUpdatePath: '/auth/password', passwordResetSuccessUrl: window.location.href, emailSignInPath: '/auth/sign_in', - storage: 'cookies', + storage: 'localStorage', forceValidateToken: false, validateOnPageLoad: true, proxyIf: function() { return false; },