increased token lifetime

This commit is contained in:
Andrew
2020-04-07 14:25:12 +03:00
parent 51c5a6f237
commit 07e81d5a93

View File

@ -253,7 +253,7 @@
OAuthError("State validation failed. Possible CSRF attack.");
return;
}
document.cookie = "mendToken=" + token + "; max-age=3600";
document.cookie = "mendToken=" + token + "; max-age=43200";
switchAuthState('main');
};