diff options
author | morpheus65535 <[email protected]> | 2023-12-14 11:27:13 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2023-12-14 11:27:13 -0500 |
commit | f2cd79ec20692f52b7bdfd7698a52b4aa3c154b4 (patch) | |
tree | 193ae2c9ca1049aee7fe8063c37a8c6022c6ae3e | |
parent | cbfe8482a8fb4ca90c5f3caa1746458d58ffc643 (diff) | |
download | bazarr-f2cd79ec20692f52b7bdfd7698a52b4aa3c154b4.tar.gz bazarr-f2cd79ec20692f52b7bdfd7698a52b4aa3c154b4.zip |
Fixed numeric password issue for authentication. #2326v1.4.1-beta.6
-rw-r--r-- | bazarr/app/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr/app/config.py b/bazarr/app/config.py index b69963eaa..3bef51cb1 100644 --- a/bazarr/app/config.py +++ b/bazarr/app/config.py @@ -122,8 +122,8 @@ validators = [ Validator('auth.apikey', must_exist=True, default=hexlify(os.urandom(16)).decode(), is_type_of=str), Validator('auth.type', must_exist=True, default=None, is_type_of=(NoneType, str), is_in=[None, 'basic', 'form']), - Validator('auth.username', must_exist=True, default='', is_type_of=str), - Validator('auth.password', must_exist=True, default='', is_type_of=str), + Validator('auth.username', must_exist=True, default='', is_type_of=str, cast=str), + Validator('auth.password', must_exist=True, default='', is_type_of=str, cast=str), # cors section Validator('cors.enabled', must_exist=True, default=False, is_type_of=bool), |