Merge branch 'master' into remove-deprecated-webclient

This commit is contained in:
Jared Goodwin 2022-08-01 17:21:16 -07:00
commit d4bdd57d15

View File

@ -33,6 +33,7 @@ namespace Remotely.Server.Auth
if (headerComponents.Length < 2)
{
context.HttpContext.Response.StatusCode = (int)HttpStatusCode.Forbidden;
context.Result = new UnauthorizedResult();
return;
};
@ -49,6 +50,7 @@ namespace Remotely.Server.Auth
if (authComponents.Length < 2)
{
context.HttpContext.Response.StatusCode = (int)HttpStatusCode.Forbidden;
context.Result = new UnauthorizedResult();
return;
};