diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-09-24 19:08:39 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-24 19:08:39 +0300 |
| commit | ac9dfa8e93106d907bbf78fe2350adfa47c76cec (patch) | |
| tree | 451a0af637b7114439b85ce7878ff82b43281cc8 /Emby.Server.Implementations/HttpServer/Security/AuthService.cs | |
| parent | b086f6d330503a055e1b073cdb3847c825839da3 (diff) | |
| parent | c9820d30edf1cb8fa99a52ec72b6571d6d4506f7 (diff) | |
Merge pull request #1775 from Bond-009/fixes
Fix multiple mistakes and warnings
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/Security/AuthService.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/Security/AuthService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthService.cs b/Emby.Server.Implementations/HttpServer/Security/AuthService.cs index 3d3f67ca2..93a61fe67 100644 --- a/Emby.Server.Implementations/HttpServer/Security/AuthService.cs +++ b/Emby.Server.Implementations/HttpServer/Security/AuthService.cs @@ -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"); } |
