【发布时间】:2010-09-19 02:29:01
【问题描述】:
我已按照此处的说明进行操作:
http://github.com/plataformatec/devise/wiki/How-to-edit-user-form-without-current-password
但它似乎忽略了这一点,仍然验证并要求当前密码。
事实上,我可以对 app/controllers/registrations_controller.rb 做任何我想做的事情,包括放入大量语法错误,它仍然要求提供当前密码。
我错过了什么?
【问题讨论】:
-
更新设计 wiki 页面 -> github.com/plataformatec/devise/wiki/…