j-toker
j-toker copied to clipboard
Only persist incoming auth headers if the 'access-token' is truthy
This is a temporary (?) solution before https://github.com/lynndylanhurley/devise_token_auth/pull/703 is rolled back.
Once https://github.com/lynndylanhurley/devise_token_auth/issues/1159 is implemented, this PR would probably be obsolete.
Relates to https://github.com/lynndylanhurley/j-toker/issues/42