Skip to content

Commit

Permalink
Allow empty strings for username and password in ODL settings. (#2245)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein authored Jan 15, 2025
1 parent abccc88 commit 3a71e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/palace/manager/api/odl/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ class OPDS2WithODLSettings(OPDS2ImporterSettings):
),
)
password: str = FormField(
default=None,
default="",
form=ConfigurationFormItem(
label=_("Library's API password"),
required=False,
),
)
username: str = FormField(
default=None,
default="",
form=ConfigurationFormItem(
label=_("Library's API username"),
required=False,
Expand Down

0 comments on commit 3a71e4b

Please sign in to comment.