summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2020-08-31 14:58:09 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2020-08-31 22:43:32 (GMT)
commitff51a685bf4f34904172769a0f0642d88df08aa2 (patch)
tree82a5c3a7888112fc2437d0ea88a22ff173a11600
parent7390a1902aca4dcb7766c86281cba66ed770cc73 (diff)
downloadeopayment-ff51a685bf4f34904172769a0f0642d88df08aa2.zip
eopayment-ff51a685bf4f34904172769a0f0642d88df08aa2.tar.gz
eopayment-ff51a685bf4f34904172769a0f0642d88df08aa2.tar.bz2
paybox: fix shared_secret validation (#46233)
-rw-r--r--eopayment/paybox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eopayment/paybox.py b/eopayment/paybox.py
index 472ac95..a00dd59 100644
--- a/eopayment/paybox.py
+++ b/eopayment/paybox.py
@@ -234,7 +234,7 @@ class Payment(PaymentCommon):
'name': 'shared_secret',
'caption': _('Secret partagé (clé HMAC)'),
'validation': lambda x: isinstance(x, str)
- and all(a.lower() in '0123456789ABCDEF' for a in x),
+ and all(a.lower() in '0123456789abcdef' for a in x),
'required': True,
},
{