#89 ✓resolved
Marco Colli

Adding support for validate_confirmation_of_password_field

Reported by Marco Colli | April 13th, 2009 @ 07:52 AM

I am trying to disable password confirmation during registration. In documentation I found no way to do this.

It would be great to use something like validate_confirmation_of_password_field = (Boolean)

to enable/disable password confirmation.

Thanks!

Comments and changes to this ticket

  • Ben Johnson

    Ben Johnson April 14th, 2009 @ 03:59 AM

    • State changed from “new” to “resolved”

    I agree, I just added some more options. You should be able to do:

    validate_confirmation_of_password_field = false
    validate_length_of_password_confirmation_field = false
    
  • Ben Johnson

    Ben Johnson April 14th, 2009 @ 02:29 PM

    I changed this, it is one option now:

    require_password_confirmation = false
    

    The options specified above no longer exist.

  • Marco Colli

    Marco Colli April 14th, 2009 @ 03:43 PM

    I totally agree with the last change. Thank you!

    OT: have you updated the repository yet or are you waiting for the release of a new version? I tried "sudo gem update authlogic" but it says "Nothing to update". Is there any way to get the modified version right now?

  • Ben Johnson

    Ben Johnson April 14th, 2009 @ 03:52 PM

    Yes, install authlogic as a plugin from the github repository.

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