mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-18 07:22:37 +00:00
[WebAuthn] fix reload
This commit is contained in:
@@ -385,7 +385,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
|
|||||||
}).then(json => {
|
}).then(json => {
|
||||||
if (json.success) {
|
if (json.success) {
|
||||||
// reload on success
|
// reload on success
|
||||||
window.location.href = window.location.href;
|
window.location = window.location.href.split("#")[0];
|
||||||
} else {
|
} else {
|
||||||
throw new Error(json.msg);
|
throw new Error(json.msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user