Fix admin repost warning. #1884

Closed
opened 2026-04-06 02:35:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BlackDex on 12/3/2022

Currently when you login into the admin, and then directly hit the save button, it will come with a re-post/re-submit warning. This has to do with the window.location.reload() function, which triggers the admin login POST again.

By changing the way to reload the page, we prevent this repost.

*Originally created by @BlackDex on 12/3/2022* Currently when you login into the admin, and then directly hit the save button, it will come with a re-post/re-submit warning. This has to do with the `window.location.reload()` function, which triggers the admin login POST again. By changing the way to reload the page, we prevent this repost.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1884