ruby on rails - ng-token-auth $rootscope.user object changes on page refresh -
i'm getting issues using ng-token-auth devise-token-auth. sign in, sign , sign out working well. when refresh page while user signed in, $rootscope.user object gets updated value of signed in user.
when clear cookies after each sign out, works fine. auth_headers being updated on each sign in/page refresh.
config.change_headers_on_each_request set true in devise_token_auth.rb.
i have same problem (i think). opened issue , apparently related pull request.
Comments
Post a Comment