[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-64-g985b95669

miras at claws-mail.org miras at claws-mail.org
Tue Sep 19 06:00:13 UTC 2023


The branch, gtk2 has been updated
       via  985b95669b6089afe38cc91fed32f31acff832ac (commit)
      from  040045b7665b34bc4cbfd006854f42b999d7ddc0 (commit)

Summary of changes:
 src/gtk/authors.h | 1 +
 src/oauth2.c      | 1 +
 2 files changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit 985b95669b6089afe38cc91fed32f31acff832ac
Author: Michael Rasmussen <mir at datanom.net>
Date:   Mon Sep 18 21:41:40 2023 +0200

    Update on-disk tokens as well when in-memory tokens are updated. Patch by Gianni Ceccarelli
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/gtk/authors.h b/src/gtk/authors.h
index 872fd2bde..545c04017 100644
--- a/src/gtk/authors.h
+++ b/src/gtk/authors.h
@@ -109,6 +109,7 @@ static char *CONTRIBS_LIST[] = {
 "Anton Butanaev",
 "Henrik Carlqvist",
 "Luca Cavalli",
+"Gianni Ceccarelli",
 "David Chalmers",
 "Wei-Lun Chao",
 "Guillaume Chazarain",
diff --git a/src/oauth2.c b/src/oauth2.c
index f9e6ee106..cc1ff176c 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -661,6 +661,7 @@ gint oauth2_check_passwds (PrefsAccount *ac_prefs)
 		passwd_store_set_account(ac_prefs->account_id, PWS_ACCOUNT_OAUTH2_EXPIRY, OAUTH2Data->expiry_str, FALSE);
 		//Some providers issue replacement refresh tokens with each access token. Re-store whether replaced or not. 
 		passwd_store_set_account(ac_prefs->account_id, PWS_ACCOUNT_OAUTH2_REFRESH, OAUTH2Data->refresh_token, FALSE);
+		passwd_store_write_config();
 		log_message(LOG_PROTOCOL, _("OAuth2 access and refresh token updated\n"));  
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list