|
|
@ -20,16 +20,22 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation.Responses
|
|
|
|
{ 104, "The requested version does not support the functionality" },
|
|
|
|
{ 104, "The requested version does not support the functionality" },
|
|
|
|
{ 105, "The logged in session does not have permission" },
|
|
|
|
{ 105, "The logged in session does not have permission" },
|
|
|
|
{ 106, "Session timeout" },
|
|
|
|
{ 106, "Session timeout" },
|
|
|
|
{ 107, "Session interrupted by duplicate login" }
|
|
|
|
{ 107, "Session interrupted by duplicate login" },
|
|
|
|
|
|
|
|
{ 119, "SID not found" }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
AuthMessages = new Dictionary<int, string>
|
|
|
|
AuthMessages = new Dictionary<int, string>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{ 400, "No such account or incorrect password" },
|
|
|
|
{ 400, "No such account or incorrect password" },
|
|
|
|
{ 401, "Account disabled" },
|
|
|
|
{ 401, "Disabled account" },
|
|
|
|
{ 402, "Permission denied" },
|
|
|
|
{ 402, "Denied permission" },
|
|
|
|
{ 403, "2-step verification code required" },
|
|
|
|
{ 403, "2-step authentication code required" },
|
|
|
|
{ 404, "Failed to authenticate 2-step verification code" }
|
|
|
|
{ 404, "Failed to authenticate 2-step authentication code" },
|
|
|
|
|
|
|
|
{ 406, "Enforce to authenticate with 2-factor authentication code" },
|
|
|
|
|
|
|
|
{ 407, "Blocked IP source" },
|
|
|
|
|
|
|
|
{ 408, "Expired password cannot change" },
|
|
|
|
|
|
|
|
{ 409, "Expired password" },
|
|
|
|
|
|
|
|
{ 410, "Password must be changed" }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
DownloadStationTaskMessages = new Dictionary<int, string>
|
|
|
|
DownloadStationTaskMessages = new Dictionary<int, string>
|
|
|
|