add webauthn console log

This commit is contained in:
FreddleSpl0it
2022-05-17 19:02:52 +02:00
parent 63cecb2fd8
commit 3c9502f241

View File

@@ -245,6 +245,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
window.fetch("/api/v1/get/webauthn-tfa-get-args", {method:'GET',cache:'no-cache'}).then(response => {
return response.json();
}).then(json => {
console.log(json);
if (json.success === false) throw new Error();
if (json.type === "error") throw new Error(json.msg);