AuthenticationType is now configurable from /Settings/System.

This commit is contained in:
Mark McDowall 2011-10-07 16:24:28 -07:00
parent f973c74c87
commit f627b551fc
3 changed files with 26 additions and 0 deletions

View file

@ -4,6 +4,8 @@ using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NzbDrone.Core.Model;
namespace NzbDrone.Web.Models
{
@ -17,5 +19,11 @@ namespace NzbDrone.Web.Models
[DisplayName("Launch Browser")]
[Description("Start default webrowser when NzbDrone starts?")]
public bool LaunchBrowser { get; set; }
[DisplayName("Authentication")]
[Description("Secure the webserver with Authentication?")]
public AuthenticationType AuthenticationType { get; set; }
public SelectList AuthTypeSelectList { get; set; }
}
}