问题
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.
来源:https://stackoverflow.com/questions/11641901/remove-password-confirmation-devise