Migrate GData plugin refresh token to password store correctly.
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 31 Mar 2016 13:18:40 +0000 (15:18 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 31 Mar 2016 13:18:40 +0000 (15:18 +0200)
src/plugins/gdata/gdata_plugin.c

index 3e3e70c..387522d 100644 (file)
@@ -126,7 +126,7 @@ gint plugin_init(gchar **error)
         * password store. */
        if(cm_gdata_config.oauth2_refresh_token != NULL) {
                passwd_store_set(PWS_PLUGIN, "GData", GDATA_TOKEN_PWD_STRING,
-                               cm_gdata_config.oauth2_refresh_token, FALSE);
+                               cm_gdata_config.oauth2_refresh_token, TRUE);
                passwd_store_write_config();
        }