其他 者也的大 Bug!

kevin · November 28, 2011 · Last by southwolf replied at February 04, 2012 · 2596 hits

注册用户时,如果密码输入和确认输入不符合,居然也能注册。

这个 Model 应该有验证吧。。。

是真的哎……者也的用户验证是用 Devise 做的,看了一下 app/model/user.rb 里少了一个 attr_accessible :password_confirmation

You need to Sign in before reply, if you don't have an account, please Sign up first.