Skip to content

Commit

Permalink
[coopengo_modules/electronic_signature] electronic_signature: set tim…
Browse files Browse the repository at this point in the history
…eout in conf returned by get_credentials (coopengo#23)

Fix #PROCK-283
  • Loading branch information
JCavallo authored and nicoe committed Sep 13, 2023
1 parent 374f1c3 commit 9e7527a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coopengo_modules/electronic_signature/signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ def get_authentification(cls, credential=None):
conf['url'] = (credential.provider_url
if credential else config_parser.get(provider, 'url'))
conf['log'] = credential.log_execution if credential else False
conf['timeout'] = credential.configurations[0].timeout if \
credential.configurations else 10

return conf, credential

@classmethod
Expand Down

0 comments on commit 9e7527a

Please sign in to comment.