mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
Basic Authentication Added
This commit is contained in:
parent
339e220cac
commit
f1d2e0e6df
13 changed files with 103 additions and 11 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue