Mercurial > libervia-backend
changeset 2090:52bd463e6fe7
core(stdui/profile manager): fixed authentication cancellation
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 04 Dec 2016 21:35:23 +0100 |
parents | 0931b5a6213c |
children | f413bfc24458 |
files | src/stdui/ui_profile_manager.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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: