Reset password is not working

201 views
Skip to first unread message

sandeep sargar

unread,
Jan 10, 2014, 2:56:01 AM1/10/14
to plataforma...@googlegroups.com
Hi Sir,

rails 3.2.16
devise 3.2.2
warden 1.2.3

I have upgraded device version from 2.0.5 to 3.2.2
Previously devise version reset password was working.
After upgrading devise version reset password stop working.

Following things happening when I am resetting password.
1) first I type the email and send the information. Reset password link is send to the mail and also reset password token is getting updated on user record.
2) It goes to  PasswordsController#create as JSON. It form the link for change password and send the mail, but at the same time it also give me error as
                     (Nil location provided. Can't build URI.):
                     app/controllers/passwords_controller.rb:23:in `create'  
3) Afterword I click on change password link to change my password. It goes to PasswordsController#update as HTML
But update query is not fired on logs only it reload the page with no errors.

Not able to make out were exactly issue is.  

Thanks & Regards,
Sandeep Sargar

and...@benjamin.dk

unread,
Jan 14, 2014, 6:18:20 AM1/14/14
to plataforma...@googlegroups.com
Maybe you can help by showing your PasswordsController#create, specially line number 23!
Reply all
Reply to author
Forward
0 new messages