Browse Source

extra tfa register debugging

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

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

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