migrating from u2f-api.js to webauthn [array alert bug fix]
parent
ab0f8fa8b0
commit
c39a20502a
|
@ -392,7 +392,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
|
||||||
|
|
||||||
if (json.success) {
|
if (json.success) {
|
||||||
console.log("success");
|
console.log("success");
|
||||||
window.location.reload();
|
window.location.href = window.location.href;
|
||||||
} else {
|
} else {
|
||||||
throw new Error(json.msg);
|
throw new Error(json.msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue