Commit 2bed25ed authored by Maxime Gasselin's avatar Maxime Gasselin Committed by Romain Bignon

[afer] update AFER password length

We can't put more than 8 numbers in the password.
Closes: 6062@zendesk
parent 5ce2dc9f
......@@ -39,7 +39,7 @@ class AferModule(Module, CapBankWealth):
BROWSER = AferBrowser
CONFIG = BackendConfig(ValueBackendPassword('login', label='Username', regexp='[A-z]\d+', masked=False),
ValueBackendPassword('password', label=u"mdp", regexp='\d+'))
ValueBackendPassword('password', label=u"mdp", regexp='\d{1,8}'))
def create_default_browser(self):
return self.create_browser(self.config['login'].get(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment