aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/login.cpp')
-rw-r--r--lib/csapi/login.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/csapi/login.cpp b/lib/csapi/login.cpp
index 81e603b5..7bb74e29 100644
--- a/lib/csapi/login.cpp
+++ b/lib/csapi/login.cpp
@@ -38,4 +38,7 @@ LoginJob::LoginJob(const QString& type,
addParam<IfNotEmpty>(_dataJson, QStringLiteral("refresh_token"),
refreshToken);
setRequestData({ _dataJson });
+ addExpectedKey("user_id");
+ addExpectedKey("access_token");
+ addExpectedKey("device_id");
}