Commit a88529e3 authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Complain (in logs) about old plugins used for logins

This should allow us to be a little more exact when this rolls out
and we invariably end up with people attempting to use old logins.
parent ae09a2f2
......@@ -104,6 +104,10 @@ QString KdePlatformDependent::getAccessToken(const QUrl& /*baseUrl*/) const
if (idToken.isEmpty()) {
// If we arrived here, we did have an opendesktop account, but without the id token, which means an old version of the signon oauth2 plugin was used
qCWarning(ATTICA_PLUGIN_LOG) << "We got an OpenDesktop account, but it seems to be lacking the id token. This means an old SignOn OAuth2 plugin was used for logging in. The plugin may have been upgraded in the meantime, but an account created using the old plugin cannot be used, and you must log out and back in again.";
} else {
qCDebug(ATTICA_PLUGIN_LOG) << "No accounts manager could be fetched, so could not ask it for account details";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment