mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop UI: notify user if they need to enter a cloud PIN
This will need to be merged / cleaned up once the git storage fixes have been merged. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e64dcd12bd
commit
405923ecfd
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ void CloudStorageAuthenticate::uploadFinished()
|
||||||
myLastError.clear();
|
myLastError.clear();
|
||||||
} else if (cloudAuthReply == QLatin1String("[VERIFY]")) {
|
} else if (cloudAuthReply == QLatin1String("[VERIFY]")) {
|
||||||
csSettings.setVerificationStatus(CS_NEED_TO_VERIFY);
|
csSettings.setVerificationStatus(CS_NEED_TO_VERIFY);
|
||||||
|
report_error(qPrintable(tr("Cloud account verification required, enter PIN in preferences")));
|
||||||
} else if (cloudAuthReply == QLatin1String("[PASSWDCHANGED]")) {
|
} else if (cloudAuthReply == QLatin1String("[PASSWDCHANGED]")) {
|
||||||
free(prefs.cloud_storage_password);
|
free(prefs.cloud_storage_password);
|
||||||
prefs.cloud_storage_password = prefs.cloud_storage_newpassword;
|
prefs.cloud_storage_password = prefs.cloud_storage_newpassword;
|
||||||
|
|
Loading…
Add table
Reference in a new issue