Ask A Question

Notifications

You’re not receiving notifications from this thread.

Devise

Lemuel Joyner asked in Rails

I watched the Gorails Rails Password Reset 2 part video for password reset. My question is my devise setup only create encrypted_password, and reset_password_token, not password or token columns. Can anyone point me to a solution for resetting password(s) with this database structure?

Reply

I also have the same question.

Reply

I'm asking the same thing as well.

Reply

How do we invalidate a token once it's used? For example you can still use the same token even after you've already reset your password once. That would be nice to implement but not sure whether it's supported. Couldn't find anything about invalidating a token manually on their GitHub page.

Reply

Ensure you have the necessary routes and controllers set up for handling password reset requests. Devise provides default routes for password reset functionality, so you may need to update your routes.rb file to include the appropriate routes.

Reply

You need to get in touch with the administrator at this point; the worst thing you could do is create a new nick

Reply

Verify that all of the controllers and routes required to process password reset requests are in place. It's possible that you'll need to modify your routes.rb file to make use of Devise's default routes for password reset functionality. basketball stars

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.