mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
make oauth2.get_addr work
oauth2.get_addr is used for gmail-oauth2 to retrieve the address really authorized in the oauth2 process.
This commit is contained in:
@@ -112,6 +112,7 @@ pub fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context) {
|
||||
dc_get_oauth2_addr(context, ¶m.addr, ¶m.mail_pw)
|
||||
.and_then(|e| e.parse().ok())
|
||||
{
|
||||
info!(context, "Authorized address is {}", oauth2_addr);
|
||||
param.addr = oauth2_addr;
|
||||
context
|
||||
.sql
|
||||
|
||||
Reference in New Issue
Block a user