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

Password reset fails #34

Open
fjenett opened this issue May 23, 2014 · 0 comments
Open

Password reset fails #34

fjenett opened this issue May 23, 2014 · 0 comments
Labels

Comments

@fjenett
Copy link
Member

fjenett commented May 23, 2014

http://localhost:9292/users/password?score_id=deborah_hay

Generates:

ArgumentError in Devise::Passwords#create
Showing [...]/app/views/devise/mailer/reset_password_instructions.html.haml where line #4 raised:

Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true

  %p
    Hello #{@resource.email}!
  %p Someone has requested a link to change your password. You can do this through the link below.
  %p= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token)
  %p If you didn't request this, please ignore this email.
  %p Your password won't change until you access the link above and create a new one.
@fjenett fjenett added the bug label May 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant