Questions tagged [devise-recoverable]
33 questions
0
votes
1 answer
Implementing username reset rails 5
I have a rails app and I have implemented devise, password resets etc that are built into devise.
I have a username field, however, I now need to allow the user to reset this too from the login page following the same flow as the way devise does…

Ben Bagley
- 733
- 1
- 9
- 22
0
votes
1 answer
Extending devise recoverable to add username reset
With Devise, we have recoverable for resetting passwords, however, I need to implement a username reset using the same flow as the password reset.
Is this possible to do with Devise or do I have to do this from scratch? And if so how do I go about…

Ben Bagley
- 733
- 1
- 9
- 22
0
votes
0 answers
Devise Mailer with SubDomain - reset password instructions with extra param
My subdomain depends on the REQUEST, like @subdomain = request.subdomain
I need to send the reset password instructions with this subdomain in the URLs.
There is a way to do that with Devise?
I couldn't find a way to add an extra param to Devise and…

matiasmasca
- 605
- 8
- 14
0
votes
1 answer
Devise forgot password url in email sending user to wrong link
Having a hard time figuring out this bug. We've got devise on Rails 5.2 and have a staging and production site. When user requests forgot password from staging site, the url that comes through the email takes the user to the correct link to reset…

kelly1025
- 343
- 3
- 10
0
votes
1 answer
Rails - Devise - Disable Reset Password Token expiration time
I currently working on a Rails app with devise authentication. I need to disabled the token expiration for reset password. According to Devise Documentation on Recoverable there is not configuration to do that. The only method I think to make this…

David Roth
- 193
- 2
- 9
0
votes
1 answer
Rails Devise Calling POST instead of PUT in reset password
I am using devise for authentication and i have a problem in the recover password form, whose link is sent by e-mail. When I define a new password, the form is sending a POST request, instead of a PUT. It's redirecting to user/password# with 'Email…

Rafael Zerbini
- 121
- 9
0
votes
1 answer
Rails API Forgot Password not Rendering View
so i'm building a forgot password in my Rails API, i was able to send the reset password email, but when i go to the link, it gives me 204 No Content.
I'm using lvh.me to test my api subdomain in development
This is my passwords_controller.rb…

Rafael Zerbini
- 121
- 9
0
votes
1 answer
Overriding devise recoverable
As my reputation is lower than 50, so Im not able to comment below the accepted answer in this post In Rails Devise gem how to modify the send_reset_password_instructions method? for more information.
I want to customize recoverable.rb in devise. I…

Nhan Nguyen
- 33
- 7
0
votes
1 answer
Devise - password update via recoverable email causes email has already been taken
Devise version 4.3.0
Rails 4.2.8
I am having trouble letting a user update their password after they are sent a password reset email.
Steps to reproduce
When a user clicks Forgot Your Password from the sign in page.
They enter in their email on the…

srm
- 655
- 1
- 8
- 21
0
votes
1 answer
Devise finding user by reset token
I'm trying to make an api for resetting password, I made devise handle the part when the user press on forgot password and sending him an email with a token but I tried to change it in the other part I needed to look up user using that token when he…

Amr Adel
- 574
- 1
- 7
- 18
0
votes
1 answer
Undefined method `router_name' for nil:NilClass
I am trying to send forgot password instruction via email and my slim template for email body contains below line
= link_to "Reset password", edit_password_url('@user.reset_password_token', email: @user.email)
And its showing error while sending…

Ninja
- 428
- 4
- 17
0
votes
1 answer
Devise 4.2 Send Password Instructions Email Links to an ERR_NAME_NOT_RESOLVED page
I have successfully set up the Devise 4.2 'recoverable' module using Rails 4.2.7.1. The user experience is as follows:
A user comes to the site, goes to a login page, clicks "Help, I Forgot My Password."
The user is sent to a subsequent page where…

M. Marquez
- 1
- 1
0
votes
2 answers
How do we make devise verification and reset email links for only 24 hours and only a 1 time link?
I am using ruby on rails for the back end.
Its a research based question. I tried searching but didn't get any solution.
Any kind of help is greatly appreciated.
Thanks in advance!!!

Savvy
- 21
- 1
- 8
0
votes
1 answer
Sending unhashed Devise reset_password_token in custom email
I'm using Devise 3.5 in my Rails 4.2 app. I've overridden all of the stock emails with custom HTML emails. Because of how I've designed the email delivery code, it's impossible for the email templates to have access to the hashed version of a token,…

Daniel Bonnell
- 4,817
- 9
- 48
- 88
0
votes
2 answers
Is it possible limit the number of emails sent for devise recoverable in a period of time for each user?
Is it possible limit the number of emials sent for devise recoverable in a period of time for each user? How can I defend against malicious requests?

Arcadio
- 116
- 12