mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Set credentials in ownCloudInfo after these have been fetched.
This commit is contained in:
parent
2ae5ae6962
commit
08babbf38d
@ -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 New Issue
Block a user