Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-06-28 15:49:26 +0300
committerHannah von Reth <vonreth@kde.org>2022-06-29 14:58:08 +0300
commitbc9e1ea5807bc6c245de87968a956b94eced8f19 (patch)
tree6996cca3365ca7f400ae7d304258d1ec953c864a /src/libsync
parentfd86a5f70af59bf1c99aedd480454e4f39e872f7 (diff)
Fix regression introduced in 3afb7a5ebdb64dcd3da1c0b5b110dc6a6c50aa6d
Diffstat (limited to 'src/libsync')
-rw-r--r--src/libsync/creds/oauth.cpp2
-rw-r--r--src/libsync/creds/oauth.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsync/creds/oauth.cpp b/src/libsync/creds/oauth.cpp
index 5587f7567..7532a4197 100644
--- a/src/libsync/creds/oauth.cpp
+++ b/src/libsync/creds/oauth.cpp
@@ -442,7 +442,7 @@ void OAuth::finalize(const QPointer<QTcpSocket> &socket, const QString &accessTo
} else {
httpReplyAndClose(socket, QStringLiteral("200 OK"), loginSuccessfullTitle, loginSuccessfullHtml);
}
- emit result(LoggedIn, userName, accessToken, displayName, refreshToken);
+ emit result(LoggedIn, userName, accessToken, refreshToken, displayName);
}
QNetworkReply *OAuth::postTokenRequest(const QList<QPair<QString, QString>> &queryItems)
diff --git a/src/libsync/creds/oauth.h b/src/libsync/creds/oauth.h
index b58c170c5..6ccb9c645 100644
--- a/src/libsync/creds/oauth.h
+++ b/src/libsync/creds/oauth.h
@@ -79,7 +79,7 @@ Q_SIGNALS:
* The state has changed.
* when logged in, token has the value of the token.
*/
- void result(OAuth::Result result, const QString &userName = QString(), const QString &token = QString(), const QString &displayName = QString(), const QString &refreshToken = QString());
+ void result(OAuth::Result result, const QString &userName = QString(), const QString &token = QString(), const QString &refreshToken = QString(), const QString &displayName = QString());
/**
* emitted when the call to the well-known endpoint is finished