Skip to content

Fix for DeviseTokenAuth.change_headers_on_each_request being ignored#1525

Open
juddmon wants to merge 2 commits intolynndylanhurley:masterfrom
nvstrtechnologies:upstream-master
Open

Fix for DeviseTokenAuth.change_headers_on_each_request being ignored#1525
juddmon wants to merge 2 commits intolynndylanhurley:masterfrom
nvstrtechnologies:upstream-master

Conversation

@juddmon
Copy link

@juddmon juddmon commented Feb 2, 2022

If DeviseTokenAuth.change_headers_on_each_request is set to false then the code falls into the else block and probably should not.

Copy link
Collaborator

@MaicolBen MaicolBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants