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

Add authentication #35

Merged
merged 4 commits into from
Feb 14, 2017
Merged

Add authentication #35

merged 4 commits into from
Feb 14, 2017

Conversation

mikevo
Copy link
Owner

@mikevo mikevo commented Feb 13, 2017

Closes #20

Includes stuff from https://www.sitepoint.com/magical-authentication-sorcery/ with modifications and not to the full extend. Only major functionality used.

@mikevo
Copy link
Owner Author

mikevo commented Feb 13, 2017

Does anyone knows how to authenticate in a test?

@mikevo
Copy link
Owner Author

mikevo commented Feb 14, 2017

i thinks it's cause of this bug NoamB/sorcery#775

@mikevo
Copy link
Owner Author

mikevo commented Feb 14, 2017

i think we should check if sorcery works with the test data generator gem proposed by @kmaus before mergin this pr

@danieldekerlegand
Copy link
Collaborator

The issue was that the test was now returning a 302 (redirect to the user's page) rather than a 200, so I changed the test case to reflect that and added a comment for clarity.

@danieldekerlegand danieldekerlegand merged commit b9f20de into master Feb 14, 2017
@danieldekerlegand danieldekerlegand deleted the add-authentication branch February 14, 2017 05:07
@danieldekerlegand danieldekerlegand restored the add-authentication branch February 14, 2017 06:16
@mikevo mikevo deleted the add-authentication branch February 14, 2017 19:01
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.

2 participants