mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-16 23:26:22 +00: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