diff --git a/lib/generators/mongoid/devise_generator.rb b/lib/generators/mongoid/devise_generator.rb index d59a844ed4..7aec818ed1 100644 --- a/lib/generators/mongoid/devise_generator.rb +++ b/lib/generators/mongoid/devise_generator.rb @@ -22,9 +22,6 @@ def migration_data ## 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