vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 06189a58fe00df7411668678fb0861d9d632ddec
parent 37d0792a7d96b356950c6b1c6d1ad44e0bf76d3c
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Sun,  4 Dec 2022 23:16:54 +0100

Merge branch 'BlackDex-fix-admin-repost'

Diffstat:
Msrc/static/templates/admin/base.hbs | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/static/templates/admin/base.hbs b/src/static/templates/admin/base.hbs @@ -32,7 +32,11 @@ <script> 'use strict'; - function reload() { window.location.reload(); } + function reload() { + // Reload the page by setting the exact same href + // Using window.location.reload() could cause a repost. + window.location = window.location.href; + } function msg(text, reload_page = true) { text && alert(text); reload_page && reload();