Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make signing salt optional for Rails 3.2 compatibility. #8

Merged
merged 1 commit into from
Feb 7, 2017

Conversation

hisea
Copy link
Contributor

@hisea hisea commented Feb 3, 2017

This fixes #7.

Rails 3.2 seems to use unsalted singing for cookies. This PR makes signing salt optional to accommodate older Rails projects.

Copy link
Owner

@cconstantin cconstantin left a comment

Choose a reason for hiding this comment

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

thanks @hisea. Would you mind adding some tests for this scenario?

@hisea
Copy link
Contributor Author

hisea commented Feb 6, 2017

@cconstantin thanks for the feedback. Updated with tests.

@cconstantin cconstantin merged commit b875ea3 into cconstantin:master Feb 7, 2017
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.

Having trouble sharing session between rails 3 and phoenix
2 participants