1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-04 03:48:28 +02:00

[WebAuthn] fix reload

This commit is contained in:
FreddleSpl0it 2022-01-17 21:39:54 +01:00 committed by FreddleSpl0it
parent c0b05fd592
commit 6788c528cf
No known key found for this signature in database
GPG Key ID: 38F5FCC689C181F9

View File

@ -385,7 +385,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
}).then(json => {
if (json.success) {
// reload on success
window.location.href = window.location.href;
window.location = window.location.href.split("#")[0];
} else {
throw new Error(json.msg);
}