mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Fix multiple mistakes and warnings
This commit is contained in:
parent
b8fd6a7ec3
commit
c9820d30ed
21 changed files with 94 additions and 104 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue