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!
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
Dave Johnson
2,038 PointsNot 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

Jake Craige
4,913 PointsI 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 :)

Dave Johnson
2,038 PointsWhere are the controllers and models for devise?

Jake Craige
4,913 PointsThat'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