Simplified token refresh

This commit is contained in:
M66B
2022-08-17 10:13:05 +02:00
parent 467b364d5d
commit 29a8fd5b1a
3 changed files with 65 additions and 77 deletions

View File

@@ -438,7 +438,7 @@ public class EmailService implements AutoCloseable {
}
properties.put("mail." + protocol + ".forcepasswordrefresh", "true");
authenticator = new ServiceAuthenticator(context, auth, provider, user, password, purpose == PURPOSE_CHECK, intf);
authenticator = new ServiceAuthenticator(context, auth, provider, user, password, intf);
if ("imap.wp.pl".equals(host))
properties.put("mail.idledone", "false");