1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Deleted unnecessary validation in generator mongoid model

This commit is contained in:
igor04 2012-08-26 14:54:08 +03:00
parent 48751783a7
commit d59301ed2a

View file

@ -23,9 +23,6 @@ module Mongoid
field :email, :type => String, :default => ""
field :encrypted_password, :type => String, :default => ""
validates_presence_of :email
validates_presence_of :encrypted_password
## Recoverable
field :reset_password_token, :type => String
field :reset_password_sent_at, :type => Time