Skip to content

Conversation

@tacos1998
Copy link

I'm not sure what happened to Gemfile.lock, but the code in config/environments/development.rb sets the default protocol for the account activation (and all other) email links to HTTPS (I had to edit the "host" variable to get the links to work on my workspace). Previously, the default was HTTP, and upon clicking the link I was redirected to the homepage (with the "Invalid activation link" behavior), but the new user's "activated" attribute was set to "true" (verified with the rails console before and after visiting the URL) and I was able to log in without any redirects, error messages, etc. All tests have passed before and after this implementation.

This behavior occurred using Rails 4.2.2 with the Cloud9 IDE in Google Chrome.

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.

1 participant