mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Basic Authentication Added
This commit is contained in:
parent
339e220cac
commit
f1d2e0e6df
13 changed files with 103 additions and 11 deletions
|
@ -23,6 +23,9 @@ namespace NzbDrone.Api.ErrorManagement
|
|||
return;
|
||||
}
|
||||
|
||||
if (statusCode == HttpStatusCode.Unauthorized)
|
||||
return;
|
||||
|
||||
if (context.Response.ContentType == "text/html" || context.Response.ContentType == "text/plain")
|
||||
context.Response = new ErrorModel
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue