diff --git a/lib/generators/mongoid/devise_generator.rb b/lib/generators/mongoid/devise_generator.rb index d59a844e..7aec818e 100644 --- a/lib/generators/mongoid/devise_generator.rb +++ b/lib/generators/mongoid/devise_generator.rb @@ -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