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?
Remove password confirmation; devise
Asked Answered
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
You just need to remove the password_confirmation
field from your form.
© 2022 - 2024 — McMap. All rights reserved.