update
This commit is contained in:
parent
6cb5e0b334
commit
e21a9933ba
1 changed files with 0 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue