#83 ✓resolved
Si

valid_password? leaves "transition" users invalid

Reported by Si | April 9th, 2009 @ 10:17 AM

When using valid_password? for a user that needs transition to a newer encryption, the update works as expected, but a subsequent call to valid? will incorrectly show the record is not valid. As per errors.full_messages:

Password confirmation is too short (minimum is 4 characters)

Setting the password_confirmation as well as the password inside valid_password? is a quick fix that works.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Pages