From 99fa5077887e7f0d4617ec8cf2e8f77e14c888cf Mon Sep 17 00:00:00 2001 From: Daniel Bernstein Date: Mon, 13 Jan 2025 11:59:12 -0800 Subject: [PATCH] Allow empty strings for username and password in ODL settings. --- src/palace/manager/api/odl/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/palace/manager/api/odl/settings.py b/src/palace/manager/api/odl/settings.py index d096e49e7..c1d50f8cc 100644 --- a/src/palace/manager/api/odl/settings.py +++ b/src/palace/manager/api/odl/settings.py @@ -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,