diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-11-13 07:27:28 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-11-13 07:27:28 -0700 |
| commit | 4a28f46cac30e2e1fabc84016d710bcd309a5344 (patch) | |
| tree | 3cae630deab87943278399c7e5161fa93a4a5d22 /Emby.Server.Implementations/HttpServer/Security/AuthService.cs | |
| parent | 8868b34d78bdb34f4c47aa4b8e81a1a3cd699ded (diff) | |
Don't throw exception on unauthenticated requests
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 e2ad07177..e7103ec95 100644 --- a/Emby.Server.Implementations/HttpServer/Security/AuthService.cs +++ b/Emby.Server.Implementations/HttpServer/Security/AuthService.cs @@ -24,7 +24,7 @@ namespace Emby.Server.Implementations.HttpServer.Security if (!auth.HasToken) { - throw new AuthenticationException("Request does not contain a token."); + return auth; } if (!auth.IsAuthenticated) |
