From 41ed603abf62fa70d0b0b62df0e1e20604893c3d Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 21 Jul 2017 15:54:47 +0200 Subject: [PATCH] AccountState: reset _waitingForNewCredentials when signin in Just to force the logic to re-ask the credenticals, in case we were already asking them when singin off. Issue: https://github.com/owncloud/client/issues/5893#issuecomment-316949686 --- src/gui/accountstate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp index 09300b1ab..63316f6d2 100644 --- a/src/gui/accountstate.cpp +++ b/src/gui/accountstate.cpp @@ -154,6 +154,7 @@ void AccountState::signOutByUi() void AccountState::signIn() { if (_state == SignedOut) { + _waitingForNewCredentials = false; setState(Disconnected); } }