RailsApps / rails-stripe-membership-saas

An example Rails 4.2 app with Stripe and the Payola gem for a membership or subscription site.

Home Page:http://railsapps.github.io/rails-stripe-membership-saas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forgot Password

opened this issue · comments

Using the "Forgot Password" feature I'm getting this response when I click the link in the email that is sent to me:

"http://smtp.gmail.com/users/password/edit?reset_password_token=qd6bUFT7KyVJ791w7V9j"

Then nothing happens. Is this correct?

I'd guess you don't have email configured correctly for Devise.

Check the file app/config/initializers/devise.rb and the setting for config.mailer_sender.

It is set to our gmail address. Isn't that right?

Mark

On Apr 26, 2013, at 1:16 PM, Daniel Kehoe notifications@github.com wrote:

I'd guess you don't have email configured correctly for Devise.

Check the file app/config/initializers/devise.rb and the setting for config.mailer_sender.


Reply to this email directly or view it on GitHub.

How about config.action_mailer.default_url_options in the file _config/environments/production.rb_?

That is set to "smtp.gmail.com", is that correct?

Mark

On Apr 26, 2013, at 4:10 PM, Daniel Kehoe notifications@github.com wrote:

How about config.action_mailer.default_url_options in the file config/environments/production.rb?


Reply to this email directly or view it on GitHub.

That's the problem. For _config/environments/development.rb_ it should be :host => 'localhost:3000' and for _config/environments/production.rb_ it should be :host => 'example.com' where you use your site domain name.

This is covered in the article http://railsapps.github.io/rails-send-email.html

Thanks Daniel, that was it!
Your great. You respond faster than any support service I've ever used!!

Mark

On Apr 26, 2013, at 4:16 PM, Daniel Kehoe notifications@github.com wrote:

That's the problem. For config/environments/development.rb it should be :host => 'localhost:3000' and for config/environments/production.rb it should be :host => 'example.com' where you use your site domain name.


Reply to this email directly or view it on GitHub.

And it's free :-)

Though you can subscribe to the tutorials if you want to support the project.