Skip to content

Commit

Permalink
Fixed numeric password issue for authentication. #2326
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 authored Dec 14, 2023
1 parent cbfe848 commit f2cd79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazarr/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ class Validator(OriginalValidator):
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),
Expand Down

0 comments on commit f2cd79e

Please sign in to comment.