The timer that takes care of updating sometimes gets out of sync, causing outdated codes to be displayed. SE does not accept +/-1 codes like other TOTP services, so we need to make sure that it is always accurate.
That entire portion of code is somewhat messy and rushed so it could definitely go with a rewrite.
The timer that takes care of updating sometimes gets out of sync, causing outdated codes to be displayed. SE does not accept +/-1 codes like other TOTP services, so we need to make sure that it is always accurate.
That entire portion of code is somewhat messy and rushed so it could definitely go with a rewrite.