删除密码确认;设计 [英] Remove password confirmation; devise

查看:120
本文介绍了删除密码确认;设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Rails 3.2.6应用程序中使用devise进行身份验证。我有密码确认,但现在我想删除它。如何解决?

解决方案

您只需删除 password_confirmation 字段。



此答案的更多信息。


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?

解决方案

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

More info in this answer.

这篇关于删除密码确认;设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆