mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
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
This commit is contained in:
parent
cdce7f2044
commit
41ed603abf
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ void AccountState::signOutByUi()
|
|||
void AccountState::signIn()
|
||||
{
|
||||
if (_state == SignedOut) {
|
||||
_waitingForNewCredentials = false;
|
||||
setState(Disconnected);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue