Desktop: ensure cloud storage email address is all lower case

We already do that on mobile and I was certain we used to do this for
desktop as well, but apparently that got lost somewhere...

This should solve the problems we are seeing for people with mixed case
email addresses.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-03-09 17:51:14 -08:00
parent 268b453a81
commit 30ea5aa9f6

View file

@ -53,7 +53,7 @@ void PreferencesNetwork::syncSettings()
proxy->set_proxy_user(ui->proxyUsername->text()); proxy->set_proxy_user(ui->proxyUsername->text());
proxy->set_proxy_pass(ui->proxyPassword->text()); proxy->set_proxy_pass(ui->proxyPassword->text());
QString email = ui->cloud_storage_email->text(); QString email = ui->cloud_storage_email->text().toLower();
QString password = ui->cloud_storage_password->text(); QString password = ui->cloud_storage_password->text();
QString newpassword = ui->cloud_storage_new_passwd->text(); QString newpassword = ui->cloud_storage_new_passwd->text();