set the internal token expiration buffer to "0" to allow for tokens to expire in less than 10 minutes as it was before

This commit is contained in:
Jacob Overgaard
2024-04-15 13:38:01 +02:00
parent 56bc8b46ca
commit 90abf3b8c2

View File

@@ -56,7 +56,7 @@ export interface TokenErrorJson {
}
// constants
const AUTH_EXPIRY_BUFFER = 10 * 60 * -1; // 10 mins in seconds
const AUTH_EXPIRY_BUFFER = 0; // 0 seconds buffer
/**
* Returns the instant of time in seconds.