mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-23 22:25:14 -04: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