Upgrading to devise 3.1 => getting Reset password token is invalid

前端 未结 6 2297
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 02:53

Solution

Thanks to this gist form Steven Harman, I got it working. devise_mail_helpers.rb

module Features
  module MailHelpers

             


        
6条回答
  •  再見小時候
    2020-12-15 03:15

    In your devise reset password template make sure following content should correct:

    =link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token)

提交回复
热议问题