Commit c431a48b9e1e99092b45682dd4950f80c3e32ea8

Authored by Spencer Alan
1 parent 6a764d24
Exists in master

raise unauthorized if company wasn't set

app/controllers/scim_rails/application_controller.rb
... ... @@ -16,6 +16,7 @@ module ScimRails
16 16 )
17 17 @company = authorization.company
18 18 end
  19 + raise ScimRails::ExceptionHandler::InvalidCredentials if @company.blank?
19 20 end
20 21 end
21 22 end
... ...