2020-02-09 02:35:16 +00:00
|
|
|
namespace Jackett.Common.Models.IndexerConfig
|
2015-08-07 23:15:42 +00:00
|
|
|
{
|
|
|
|
public class ConfigurationDataRecaptchaLogin : ConfigurationData
|
|
|
|
{
|
|
|
|
public StringItem Username { get; private set; }
|
|
|
|
public StringItem Password { get; private set; }
|
|
|
|
public RecaptchaItem Captcha { get; private set; }
|
2016-09-29 19:09:20 +00:00
|
|
|
public DisplayItem Instructions { get; private set; }
|
2015-08-07 23:15:42 +00:00
|
|
|
|
2016-09-29 19:09:20 +00:00
|
|
|
public ConfigurationDataRecaptchaLogin(string instructionMessageOptional = null)
|
2015-08-07 23:15:42 +00:00
|
|
|
{
|
|
|
|
Username = new StringItem { Name = "Username" };
|
|
|
|
Password = new StringItem { Name = "Password" };
|
|
|
|
Captcha = new RecaptchaItem() { Name = "Recaptcha" };
|
2016-09-29 19:09:20 +00:00
|
|
|
Instructions = new DisplayItem(instructionMessageOptional) { Name = "" };
|
2015-08-07 23:15:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|