diff options
| author | Ruben Pollan <meskio@sindominio.net> | 2016-08-27 18:43:15 +0200 | 
|---|---|---|
| committer | Ruben Pollan <meskio@sindominio.net> | 2016-08-27 19:16:34 +0200 | 
| commit | a6dc6a1f6d7166c79516ed40f43c1b46d26d169e (patch) | |
| tree | ea61567fafd043f45e8abbf30599270f107637ee | |
| parent | 8ee051421103c4d03627ece4570bb0744a342354 (diff) | |
[bug] let the failures propagate
In the case of wrong username/password the failure returned was
'Authentication hook did not return anything'. Right now the
original failure is returned, and the producer of the failure can
put a more meaningful message.
- Resolves: #8399
| -rw-r--r-- | src/leap/bonafide/config.py | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/src/leap/bonafide/config.py b/src/leap/bonafide/config.py index c3097cc..ae66a0e 100644 --- a/src/leap/bonafide/config.py +++ b/src/leap/bonafide/config.py @@ -227,13 +227,11 @@ class Provider(object):      def callWhenMainConfigReady(self, cb, *args, **kw):          d = self.first_bootstrap[self._domain]          d.addCallback(lambda _: cb(*args, **kw)) -        d.addErrback(log.err)          return d      def callWhenReady(self, cb, *args, **kw):          d = self.ongoing_bootstrap[self._domain]          d.addCallback(lambda _: cb(*args, **kw)) -        d.addErrback(log.err)          return d      def has_valid_certificate(self): | 
