Migrate GData plugin refresh token to password store correctly.
[claws.git] / src / plugins / gdata / gdata_plugin.c
index 3e3e70c2e9f155fdd67b9f964783048c66357c00..387522d7fabc298487107d5130d76e672afe088c 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();
        }