Extend token lifetime to 3 days (#1172)

## Description:

Extend token lifetime from 6 hours to 3 days.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
Scott Anderson
2025-06-14 00:52:50 -04:00
committed by GitHub
parent 38b87b7217
commit 3e9b81cd3f
+1 -1
View File
@@ -125,7 +125,7 @@ function _isLoggedIn(): IsLoggedInResponse {
logOut();
return false;
}
const refreshAge: number = 6 * 3600; // 6 hours
const refreshAge: number = 3 * 24 * 3600; // 3 days
if (iat !== undefined && now >= iat + refreshAge) {
console.log("Refreshing access token...");
postRefresh().then((success) => {