mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
BitMeTv: Add instructions
BitMeTv: Add instructions to turn on SSL
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Jackett.Indexers
|
|||||||
client: c,
|
client: c,
|
||||||
logger: l,
|
logger: l,
|
||||||
p: ps,
|
p: ps,
|
||||||
configData: new ConfigurationDataCaptchaLogin())
|
configData: new ConfigurationDataCaptchaLogin("Ensure that you have the 'Force SSL' option set to 'yes' in your profile on the BitMeTv webpage."))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -18,13 +18,17 @@ namespace Jackett.Models.IndexerConfig
|
|||||||
|
|
||||||
public HiddenItem CaptchaCookie { get; private set; }
|
public HiddenItem CaptchaCookie { get; private set; }
|
||||||
|
|
||||||
public ConfigurationDataCaptchaLogin()
|
public DisplayItem Instructions { get; private set; }
|
||||||
|
|
||||||
|
/// <param name="instructionMessageOptional">Enter any instructions the user will need to setup the tracker</param>
|
||||||
|
public ConfigurationDataCaptchaLogin(string instructionMessageOptional = null)
|
||||||
{
|
{
|
||||||
Username = new StringItem { Name = "Username" };
|
Username = new StringItem { Name = "Username" };
|
||||||
Password = new StringItem { Name = "Password" };
|
Password = new StringItem { Name = "Password" };
|
||||||
CaptchaImage = new ImageItem { Name = "Captcha Image" };
|
CaptchaImage = new ImageItem { Name = "Captcha Image" };
|
||||||
CaptchaText = new StringItem { Name = "Captcha Text" };
|
CaptchaText = new StringItem { Name = "Captcha Text" };
|
||||||
CaptchaCookie = new HiddenItem("") { Name = "Captcha Cookie" };
|
CaptchaCookie = new HiddenItem("") { Name = "Captcha Cookie" };
|
||||||
|
Instructions = new DisplayItem(instructionMessageOptional) { Name = "" };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user