[Commits] [SCM] claws branch, master, updated. 4.1.1-79-g23c34bc4b

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


The branch, master has been updated
       via  23c34bc4b7adef7749e55fbca406c922d53dbd60 (commit)
      from  ec2333b902f98d5e917994af8a7ff1ef3c1bdf3a (commit)

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


- Log -----------------------------------------------------------------
commit 23c34bc4b7adef7749e55fbca406c922d53dbd60
Author: Michael Rasmussen <mir at datanom.net>
Date:   Mon Sep 18 21:27: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 875af7d81..64840304d 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 f9bd47802..1cd3fe4e1 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -662,6 +662,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