# HG changeset patch # User Goffi # Date 1480883723 -3600 # Node ID 52bd463e6fe7b81ea212b210a73430e649d94ebf # Parent 0931b5a6213c9a2b203feeb02f29b0f529250da8 core(stdui/profile manager): fixed authentication cancellation diff -r 0931b5a6213c -r 52bd463e6fe7 src/stdui/ui_profile_manager.py --- a/src/stdui/ui_profile_manager.py Sun Dec 04 18:16:48 2016 +0100 +++ b/src/stdui/ui_profile_manager.py Sun Dec 04 21:35:23 2016 +0100 @@ -67,6 +67,8 @@ return {'xmlui': dialog.toXml(), 'validated': C.BOOL_FALSE} def _authenticateProfile(self, data, profile): + if C.bool(data.get('cancelled', 'false')): + return {} if self.host.memory.isSessionStarted(profile): return {'validated': C.BOOL_TRUE} try: