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
|
@ -22,9 +22,6 @@ module Mongoid
|
|||
## Database authenticatable
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue