Closed numeroteca closed 11 years ago
Test via the rails console:
User.find(1).send_reset_password_instructions
yields the helpful message:
sh: 1: /usr/sbin/sendmail: not found
Sure enough, sendmail isn't installed :-( I installed it.
This works on dev now - to push and test on production
When resetig a password: user receives the email (in my case it went to spam), but the link provided to reset goes to a broken url 404 http://pageonex.com/users/password/edit?reset_password_token=XWSUJ....
I had the url wrong in config/environments/production.rb
... it was missing the "production."!
It is not possible to reset the password both at dev and production (http://dev.pageonex.com/users/password/new).
Error:
The log in production returns: