Skip to content

Commit

Permalink
Allow empty strings for username and password in ODL settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Jan 13, 2025
1 parent 9bd47a3 commit 99fa507
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 99fa507

Please sign in to comment.