Browse Source

migrating from u2f-api.js to webauthn [array alert bug fix]

FreddleSpl0it 3 years ago
parent
commit
c39a20502a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/web/templates/base.twig

+ 1 - 1
data/web/templates/base.twig

@@ -392,7 +392,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
 
                 if (json.success) {
                     console.log("success");
-                    window.location.reload();
+                    window.location.href = window.location.href;
                 } else {
                     throw new Error(json.msg);
                 }