1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Reduced Gmail token lifetime

This commit is contained in:
M66B 2020-11-30 08:59:57 +01:00
parent c4445464ff
commit 31b8ebf7ce

View file

@ -39,7 +39,7 @@ public class GmailState {
private long acquired;
static final String TYPE_GOOGLE = "com.google";
private static final long TOKEN_LIFETIME = 3600 * 1000L; // milliseconds
private static final long TOKEN_LIFETIME = 45 * 60 * 1000L; // milliseconds
private GmailState(String token, long acquired) {
this.token = token;