Commit 4a551fd3b6fb27324c66984cc3834e2ba82a0b05

Authored by Spencer Alan
1 parent 2d40c227
Exists in master

fix linter error

app/models/scim_rails/authorize_api_request.rb
@@ -27,7 +27,7 @@ module ScimRails @@ -27,7 +27,7 @@ module ScimRails
27 end 27 end
28 28
29 def authorize(company) 29 def authorize(company)
30 - authorized = ActiveSupport::SecurityUtils::secure_compare(company.api_key, api_key) 30 + authorized = ActiveSupport::SecurityUtils.secure_compare(company.api_key, api_key)
31 raise ScimRails::ExceptionHandler::InvalidCredentials unless authorized 31 raise ScimRails::ExceptionHandler::InvalidCredentials unless authorized
32 end 32 end
33 end 33 end