From e21a9933ba41b25935559fcfd61cb6775ddc75d4 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sat, 22 Sep 2012 23:15:31 -0400 Subject: [PATCH] update --- app/models/user.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index e10074be..46d8c00e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -8,11 +8,6 @@ has_many :items acts_as_authentic do |configuration| configuration.session_class = Session - configuration.require_password_confirmation = false - - configuration.merge_validates_format_of_email_field_options unless: Proc.new { |user| user.email.blank? and user.authed? } - configuration.merge_validates_length_of_email_field_options unless: Proc.new { |user| user.email.blank? and user.authed? } - #configuration.merge_validates_length_of_password_field_options unless: Proc.new { |user| user.password.blank? and user.authed? } end validates :password, :presence => true,