Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Daylight Saving Time (DST) Causing 2FA Issues #1311

Open
ewhsde opened this issue Apr 2, 2024 · 1 comment
Open

Issue: Daylight Saving Time (DST) Causing 2FA Issues #1311

ewhsde opened this issue Apr 2, 2024 · 1 comment

Comments

@ewhsde
Copy link

ewhsde commented Apr 2, 2024

I, and all clients, were recently unable to access ProjectSend (r1605) after our clocks went ahead an hour. 2FA Codes expired 55 minutes prior to the current time, as we are now GMT/UTC +1.

My hosting provider has attempted changing the time in MySQL and PHP, however this doesn't seem to have worked.

My temporary solution was to change 2FA code expiry to 120 mins in AuthenticationCode.php and deactivate the feature after logging in. I would ideally like to reenable this, however first I'd need to know how to fix authentication codes being sent with the time being 1 hour behind.

Any help greatly appreciated. PHP 8.1.27 mySQL 8.0.36-cll-lve

Screenshot 2024-04-01 085302

@baksteen91
Copy link

Hi,

It looks like your server time is an hour behind.
You should check on your server if the daylight saving is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants