Log the auth type being used for accounts

There have been hard to track down bugs related to the wrong auth
type being used.
This commit is contained in:
Christian Kamm 2017-01-11 09:30:59 +01:00
parent fad690be11
commit ffbf34cb97

View file

@ -235,6 +235,9 @@ AccountPtr AccountManager::loadAccountHelper(QSettings& settings)
} else {
acc->setUrl(urlConfig.toUrl());
}
qDebug() << "Account for" << acc->url() << "using auth type" << authType;
acc->_serverVersion = settings.value(QLatin1String(serverVersionC)).toString();
// We want to only restore settings for that auth type and the user value