mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
Don't throw exception on unauthenticated requests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user