Sisyphus repository
Last update: 25 october 2020 | SRPMs: 17696 | Visits: 19479773
en ru br
ALT Linux repos
S:20.08.2-alt1

Group :: Graphical desktop/KDE
RPM: kde5-ktp-auth-handler

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-oauth2-only-google.patch
Download


--- a/sasl-auth-op.cpp
+++ b/sasl-auth-op.cpp
@@ -70,7 +70,7 @@ void SaslAuthOp::gotProperties(Tp::Pendi
     QString error = qdbus_cast<QString>(m_properties.value(QLatin1String("SASLError")));
     QVariantMap errorDetails = qdbus_cast<QVariantMap>(m_properties.value(QLatin1String("SASLErrorDetails")));
 
-    if (m_mechanisms.contains(QLatin1String("X-OAUTH2"))) {
+    if (m_mechanisms.contains(QLatin1String("X-OAUTH2")) && m_mechanisms.contains(QLatin1String("X-GOOGLE-TOKEN"))) {
         qDebug() << "Starting X-OAuth2 auth";
         m_mechanisms.removeAll(QStringLiteral("X-OAUTH2"));
         XTelepathySSOGoogleOperation *authop = new XTelepathySSOGoogleOperation(m_account, m_accountStorageId, m_saslIface);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin