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:
parent
48751783a7
commit
d59301ed2a
1 changed files with 0 additions and 3 deletions
|
@ -23,9 +23,6 @@ module Mongoid
|
||||||
field :email, :type => String, :default => ""
|
field :email, :type => String, :default => ""
|
||||||
field :encrypted_password, :type => String, :default => ""
|
field :encrypted_password, :type => String, :default => ""
|
||||||
|
|
||||||
validates_presence_of :email
|
|
||||||
validates_presence_of :encrypted_password
|
|
||||||
|
|
||||||
## Recoverable
|
## Recoverable
|
||||||
field :reset_password_token, :type => String
|
field :reset_password_token, :type => String
|
||||||
field :reset_password_sent_at, :type => Time
|
field :reset_password_sent_at, :type => Time
|
||||||
|
|
Loading…
Reference in a new issue