Remove password confirmation; devise
Asked Answered
S

1

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?

Spectatress answered 25/7, 2012 at 2:32 Comment(3)
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.Plastometer
the ratio of typo to not-typo is significant.Spectatress
@Plastometer 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.Drennan
P
17

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

More info in this answer.

Perusse answered 25/7, 2012 at 3:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.