mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Move SecurityException
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
|
||||
if (string.IsNullOrWhiteSpace(token))
|
||||
{
|
||||
// Request doesn't contain a token.
|
||||
throw new SecurityException("Unauthorized.");
|
||||
return (null, null);
|
||||
}
|
||||
|
||||
var result = _authRepo.Get(new AuthenticationInfoQuery
|
||||
|
||||
Reference in New Issue
Block a user