mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Basic Authentication Added
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Nancy;
|
||||
using Nancy.Security;
|
||||
|
||||
namespace NzbDrone.Api.Frontend
|
||||
{
|
||||
@@ -7,6 +8,7 @@ namespace NzbDrone.Api.Frontend
|
||||
{
|
||||
public IndexModule()
|
||||
{
|
||||
this.RequiresAuthentication();
|
||||
//Serve anything that doesn't have an extension
|
||||
Get[@"/(.*)"] = x => Index();
|
||||
}
|
||||
|
Reference in New Issue
Block a user