10

I am using devise for authentication in my Rails 3.2.6 app. I had password confirmation first but now I want to remove it. How to go about that?

Bhushan Lodha
  • 6,824
  • 7
  • 62
  • 100
  • Why do you want to remove the password confirmation? Many users could make a typo when setting up their account and be unable to figure out what their password is without the confirmation check. – Aaron Jul 25 '12 at 02:36
  • 2
    the ratio of typo to not-typo is significant. – Bhushan Lodha Jul 25 '12 at 02:40
  • 3
    @Aaron Password confirmations are annoying. In the rare case that a typo is made, all hope is not lost, the user can go through the "forgot your password" process. – Dennis Mar 06 '14 at 15:25

1 Answers1

17

You just need to remove the password_confirmation field from your form.

More info in this answer.

Community
  • 1
  • 1
pmwood
  • 741
  • 5
  • 15