extra tfa register debugging

This commit is contained in:
FreddleSpl0it 2022-07-04 17:01:35 +02:00
parent 11700d7ecb
commit 6fb967cf79

View File

@ -415,6 +415,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
window.fetch("/api/v1/get/webauthn-tfa-registration/{{ mailcow_cc_username|url_encode(true)|default('null') }}", {method:'GET',cache:'no-cache'}).then(response => {
return response.json();
}).then(json => {
console.log(json);
if (json.success === false) throw new Error(json.msg);
recursiveBase64StrToArrayBuffer(json);