aboutsummaryrefslogtreecommitdiffhomepage
path: root/static
diff options
context:
space:
mode:
authorHalali <[email protected]>2019-07-04 22:09:34 +0200
committerHalali <[email protected]>2019-07-04 22:09:34 +0200
commit63fa0e5c76c1c3bce790b3ecc7f36240dbdb29b2 (patch)
tree249c1c3e68e0c967ce51ec21871225c6b7961a9f /static
parentb86c05202ba7011f2508917f1573bdc5283958a6 (diff)
downloadbazarr-63fa0e5c76c1c3bce790b3ecc7f36240dbdb29b2.tar.gz
bazarr-63fa0e5c76c1c3bce790b3ecc7f36240dbdb29b2.zip
Remove Api key 32 char requirement for Radarr and Sonarr
Diffstat (limited to 'static')
-rw-r--r--static/js/settings_validation.js52
-rw-r--r--static/js/wizard_validation.js52
2 files changed, 52 insertions, 52 deletions
diff --git a/static/js/settings_validation.js b/static/js/settings_validation.js
index a3da8b271..50362ba3e 100644
--- a/static/js/settings_validation.js
+++ b/static/js/settings_validation.js
@@ -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 : [
{
diff --git a/static/js/wizard_validation.js b/static/js/wizard_validation.js
index bb9b50299..2a5312757 100644
--- a/static/js/wizard_validation.js
+++ b/static/js/wizard_validation.js
@@ -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 : [
{