Remove password confirmation; devise

2019-06-16 07:17发布

问题:

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?

回答1:

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

More info in this answer.