The new woob repository is here: This gitlab will be removed soon.

Commit 4a705c12 authored by Jerome Berthier's avatar Jerome Berthier Committed by Romain Bignon

[erehsbc] Remove credential secret phrase

parent 02e4a6fd
......@@ -38,7 +38,6 @@ class ErehsbcModule(AbstractModule, CapBank):
CONFIG = BackendConfig(
ValueBackendPassword('login', label='Identifiant', masked=False),
ValueBackendPassword('password', label='Code secret', regexp='^(\d{6})$'),
ValueBackendPassword('secret', label=u'Réponse secrète'),
Value('otp', label=u'Code de sécurité', default='', regexp='^(\d{6})$'))
BROWSER = ErehsbcBrowser
......@@ -161,13 +161,6 @@ class ErehsbcBrowser(S2eBrowser):
SLUG = 'hsbc'
LANG = 'fr' # ['fr', 'en']
def __init__(self, *args, **kwargs):
super(ErehsbcBrowser, self).__init__(*args, **kwargs)
# don't remove "secret" from config, it might still be useful to keep it in config.
# as of writing (2018/01/30), it seems the web doesn't ask for it.
# even worse: when passing it, we're asked for otp everytime, so don't pass it
self.secret = None
class BnppereBrowser(S2eBrowser):
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