diff options
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 5681974ec..f0208db53 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -953,7 +953,10 @@ QNetworkReply* CloudStorageAuthenticate::authenticate(QString email, QString pas void CloudStorageAuthenticate::uploadFinished() { - qDebug() << "Completed connection with cloud storage backend, response" << reply->readAll(); + QString cloudAuthReply(reply->readAll()); + qDebug() << "Completed connection with cloud storage backend, response" << cloudAuthReply; + prefs.show_cloud_pin = (cloudAuthReply == "[VERIFY]"); + emit finishedAuthenticate(prefs.show_cloud_pin); } void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError error) |