mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 21:16:52 +01:00
Cleanup a VS IDE message
This commit is contained in:
@@ -162,7 +162,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
return HeadersIssue(ex);
|
||||
}
|
||||
|
||||
failIfUnauthed = Request.Headers.Authorization.Any();
|
||||
failIfUnauthed = Request.Headers.Authorization.Count > 0;
|
||||
}
|
||||
else
|
||||
failIfUnauthed = ApiHeaders.Token != null;
|
||||
|
||||
Reference in New Issue
Block a user