[WebAuthn] fix reload
parent
c0b05fd592
commit
6788c528cf
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue