# TOTP timezone offset since Synology update to 7.0

**URL:** <https://vaultwarden.discourse.group/t/totp-timezone-offset-since-synology-update-to-7-0/1125>\
**Category:** Help\
**Created:** [September 7, 2021, 8:33pm UTC](https://vaultwarden.discourse.group/t/totp-timezone-offset-since-synology-update-to-7-0/1125 "2021-09-07T20:33:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cathulhu](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@Cathulhu](https://vaultwarden.discourse.group/u/Cathulhu)\
**Post date:** [September 7, 2021, 8:33pm UTC](https://vaultwarden.discourse.group/t/totp-timezone-offset-since-synology-update-to-7-0/1125/1 "2021-09-07T20:33:09Z")

</div>

So, i did a stupid thing and updated my Synology DSM to 7.0, which i’m growing to regret a lot by now.  
Took me days to get Synology to work again, kinda.

Now i can’t login because my account is secured by TOTP. And somehow the TOTP codes are not accepted because the server time is set to UTC while i use CEST aka UTC+2.

Whatever i do, the codes are not accepted and i can not get into my account.  
Can you help me as a noob in how to get Vaultwarden to use the proper time?

edit: error message:  
2021-09-07 22:24:13.885][vaultwarden::api::core::two\_factor::authenticator][ERROR] Invalid TOTP code! Server time: 2021-09-07 20:24:13 UTC IP: XXX.XXX.XXX.XXX

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [September 7, 2021, 8:48pm UTC](https://vaultwarden.discourse.group/t/totp-timezone-offset-since-synology-update-to-7-0/1125/2 "2021-09-07T20:48:23Z")

</div>

totp codes are always bound to UTC.  
Please check the /admin/diagnostics page and see if there is a time drift. That could cause issues like this.

Not sure, but i think those nas systems do support NTP. Maybe look for something where you can configure that.

---

<div class="post-metadata">

**Author:** ![Cathulhu](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@Cathulhu](https://vaultwarden.discourse.group/u/Cathulhu)\
**Post date:** [September 7, 2021, 9:20pm UTC](https://vaultwarden.discourse.group/t/totp-timezone-offset-since-synology-update-to-7-0/1125/3 "2021-09-07T21:20:23Z")

</div>

They do support and by default use NTP.  
Thanks for the tip with the admin page. After enabling it, i was able to remove 2FA and set it up again. Now my access works again.

Still regret updating DSM to 7.0. Took me days just to get Vaultwarden to run properly again.
