Make password change asynchronous

This isn't perfect (if you make multiple requests things could go badly),
but it's better than just slapping the new password into the settings,
even if the update failed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-22 15:06:57 -07:00
parent aa9c2b7384
commit 9a68e356af
5 changed files with 17 additions and 2 deletions

1
pref.h
View file

@ -109,6 +109,7 @@ struct preferences {
short default_file_behavior;
facebook_prefs_t facebook;
char *cloud_storage_password;
char *cloud_storage_newpassword;
char *cloud_storage_email;
char *cloud_storage_email_encoded;
bool save_password_local;