Commit 4a551fd3b6fb27324c66984cc3834e2ba82a0b05
1 parent
2d40c227
Exists in
master
fix linter error
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/scim_rails/authorize_api_request.rb
... | ... | @@ -27,7 +27,7 @@ module ScimRails |
27 | 27 | end |
28 | 28 | |
29 | 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 | 31 | raise ScimRails::ExceptionHandler::InvalidCredentials unless authorized |
32 | 32 | end |
33 | 33 | end | ... | ... |