mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Set credentials in ownCloudInfo after these have been fetched.
This commit is contained in:
parent
2ae5ae6962
commit
08babbf38d
1 changed files with 2 additions and 0 deletions
|
@ -324,6 +324,8 @@ void Application::slotCredentialsFetched(bool ok)
|
|||
_actionAddFolder->setEnabled( false );
|
||||
_actionOpenStatus->setEnabled( false );
|
||||
} else {
|
||||
ownCloudInfo::instance()->setCredentials( CredentialStore::instance()->user(),
|
||||
CredentialStore::instance()->password() );
|
||||
// Credential fetched ok.
|
||||
QTimer::singleShot( 0, this, SLOT( slotCheckAuthentication() ));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue