mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cloud storage: initial support for confirming the email PIN
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
318bf5cccc
commit
a07376b534
6 changed files with 34 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue