Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37479982
en ru br
ALT Linux repos
S:23.04.3-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