Remove Api key 32 char requirement for Radarr and Sonarr

pull/479/head^2
Halali 5 years ago
parent b86c05202b
commit 63fa0e5c76

@ -73,19 +73,19 @@ $('#settings_form')
}
]
},
settings_sonarr_apikey : {
depends: 'settings_general_use_sonarr',
rules : [
{
type : 'exactLength[32]',
prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
},
{
type : 'empty',
prompt : '"Sonarr / Connection settings / API key" must have a value'
}
]
},
// settings_sonarr_apikey : {
// depends: 'settings_general_use_sonarr',
// rules : [
// {
// type : 'exactLength[32]',
// prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
// },
// {
// type : 'empty',
// prompt : '"Sonarr / Connection settings / API key" must have a value'
// }
// ]
// },
radarr_validated_checkbox : {
depends: 'settings_general_use_radarr',
rules : [
@ -117,19 +117,19 @@ $('#settings_form')
}
]
},
settings_radarr_apikey : {
depends: 'settings_general_use_radarr',
rules : [
{
type : 'exactLength[32]',
prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
},
{
type : 'empty',
prompt : '"Radarr / Connection settings / API key" must have a value'
}
]
},
// settings_radarr_apikey : {
// depends: 'settings_general_use_radarr',
// rules : [
// {
// type : 'exactLength[32]',
// prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
// },
// {
// type : 'empty',
// prompt : '"Radarr / Connection settings / API key" must have a value'
// }
// ]
// },
settings_subliminal_providers : {
rules : [
{

@ -56,19 +56,19 @@ $('#wizard_form')
}
]
},
settings_sonarr_apikey : {
depends: 'settings_general_use_sonarr',
rules : [
{
type : 'exactLength[32]',
prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
},
{
type : 'empty',
prompt : '"Sonarr / Connection settings / API key" must have a value'
}
]
},
// settings_sonarr_apikey : {
// depends: 'settings_general_use_sonarr',
// rules : [
// {
// type : 'exactLength[32]',
// prompt : '"Sonarr / Connection settings / API key" must be exactly {ruleValue} characters'
// },
// {
// type : 'empty',
// prompt : '"Sonarr / Connection settings / API key" must have a value'
// }
// ]
// },
radarr_validated_checkbox : {
depends: 'settings_general_use_radarr',
rules : [
@ -100,19 +100,19 @@ $('#wizard_form')
}
]
},
settings_radarr_apikey : {
depends: 'settings_general_use_radarr',
rules : [
{
type : 'exactLength[32]',
prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
},
{
type : 'empty',
prompt : '"Radarr / Connection settings / API key" must have a value'
}
]
},
// settings_radarr_apikey : {
// depends: 'settings_general_use_radarr',
// rules : [
// {
// type : 'exactLength[32]',
// prompt : '"Radarr / Connection settings / API key" must be exactly {ruleValue} characters'
// },
// {
// type : 'empty',
// prompt : '"Radarr / Connection settings / API key" must have a value'
// }
// ]
// },
settings_subliminal_providers : {
rules : [
{

Loading…
Cancel
Save