Fix multiple mistakes and warnings

This commit is contained in:
Bond_009
2019-09-20 12:42:08 +02:00
parent b8fd6a7ec3
commit c9820d30ed
21 changed files with 94 additions and 104 deletions

View File

@@ -51,7 +51,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
var user = auth.User;
if (user == null & !auth.UserId.Equals(Guid.Empty))
if (user == null && auth.UserId != Guid.Empty)
{
throw new SecurityException("User with Id " + auth.UserId + " not found");
}