mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Fix multiple mistakes and warnings
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user