From 3a71e4b5e954c2e0787deb943052d794198798ce Mon Sep 17 00:00:00 2001 From: dbernstein Date: Wed, 15 Jan 2025 11:40:52 -0800 Subject: [PATCH] Allow empty strings for username and password in ODL settings. (#2245) --- 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,