Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Not requiring "current password" on registration#edit for Devise

I followed the Ruby on Rails tutorial, really good! I had a quick question...

How do you allow users to not have to type in their current password when updating their registration information?

3 Answers

I don't know specifically how devise is set up to check that, but you would need to delete the field from the view, and then check the controllers and models for any places that check that field and remove the code.

For more practice, just code your own authentication system :)

Where are the controllers and models for devise?

That's a great question. I can't seem to locate them either... I know you can override them if you wanted. That should be referenced in the Devise Documentation