add webauthn console log

This commit is contained in:
FreddleSpl0it 2022-05-17 19:02:52 +02:00
parent 63cecb2fd8
commit 3c9502f241
No known key found for this signature in database
GPG Key ID: 6315227FF33D2425

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);