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 590f3c60bf
commit c922a56495
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
- Desktop: make sure cloud storage email addresses are lower case only
- Desktop: Fix editing of dive-time [#1975]
- Bluetooth: only show recognized dive computers by default
- Desktop: Add export option for profile picture [#1962]

View file

@ -53,7 +53,7 @@ void PreferencesNetwork::syncSettings()
proxy->set_proxy_user(ui->proxyUsername->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 newpassword = ui->cloud_storage_new_passwd->text();