mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
OTP Problem, Browser Timezone not correctly found #168
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @leancode on GitHub.
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
v1.33.2
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
haproxy 2.8.10 running on FreeBSD 14.1rp3
Host/Server Operating System
Linux
Operating System Version
debian 11.11 as docker host
Clients
Web Vault
Client Version
Brave on Linux 1.76.82
Steps To Reproduce
Expected Result
The OTP is correct
Actual Result
The OTP is wrong
Logs
Screenshots or Videos
This image shows the diag output. You can see every timezone is UTC.

This is true for the server etc but the client (the browser) is actually in UTC-3 and this is not correctly identified by Vaultwarden. See below:
You can see that the browser is clearly not in UTC and that would explain it.
Additional Context
Thanks for your great work on this project!