From 53caf6399c9fa3da8ac4fd7cab1a7669e8764d61 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 30 Oct 2012 09:16:43 +0100 Subject: [PATCH] accept ID with 8 chars (closes #921) --- modules/opacwebaloes/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/opacwebaloes/backend.py b/modules/opacwebaloes/backend.py index 9ac1b756..5341bc3b 100644 --- a/modules/opacwebaloes/backend.py +++ b/modules/opacwebaloes/backend.py @@ -37,7 +37,7 @@ class AloesBackend(BaseBackend, ICapBook): VERSION = '0.e' DESCRIPTION = 'Aloes Library software' LICENSE = 'AGPLv3+' - CONFIG = BackendConfig(Value('login', label='Account ID', regexp='^\d{1,6}\w$'), + CONFIG = BackendConfig(Value('login', label='Account ID', regexp='^\d{1,8}\w$'), ValueBackendPassword('password', label='Password of account'), Value('baseurl', label='Base URL') )