Change {Chili => Open}Project::PrincipalAllowanceEvaluator usage

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2476/head
Alex Coles 10 years ago
parent 1b48dba5f5
commit e3913ac8f5
  1. 2
      app/models/user.rb

@ -229,7 +229,7 @@ class User < Principal
end
end
register_allowance_evaluator ChiliProject::PrincipalAllowanceEvaluator::Default
register_allowance_evaluator OpenProject::PrincipalAllowanceEvaluator::Default
# Returns the user that matches provided login and password, or nil
def self.try_to_login(login, password)

Loading…
Cancel
Save