Skip to content

Commit

Permalink
Default errors are the same as AR -- remove them
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholstyn committed May 1, 2008
1 parent 7625e2b commit b5c4c99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def acts_as_login_model(options = {})
include Mhs::AuthenticationSystem::Model::InstanceMethods

self.mhs_authentication_system_options = {
:group_validation => { :message => "can't be blank" },
:email_address_validation => { :message => "can't be blank" },
:email_address_unique_validation => { :message => "has already been taken" },
:group_validation => {},
:email_address_validation => {},
:email_address_unique_validation => {},
:password_validation => "must match"
}.merge(options.except(:group_validation, :email_address_validation, :email_address_unique_validation))

Expand Down

0 comments on commit b5c4c99

Please sign in to comment.