I'm building a "change password" form for my user built with these fields:
- Old password
- New password
- Confirmation password
I need a way to check if the current logged in user password is the same as "old password" field, are there any possibility to do this, with authlogic? I can't find a method to test a password.