mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
The API is secured by this authorization filter that should prevent access to the API when the auhorization header is invalid. Instead the filter just set the status to 403, but delivered the data anyway. This commit fixes this by explicitly setting the result to an UnauthorizedResult, which prevents access to the API. #495 |
||
|---|---|---|
| .. | ||
| ApiAuthorizationFilter.cs | ||
| ExpiringTokenFilter.cs | ||
| RemoteControlFilterAttribute.cs | ||
| TwoFactorRequiredHandler.cs | ||
| TwoFactorRequiredRequirement.cs | ||