mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-22 20:53:32 +00:00
add webauthn console log
This commit is contained in:
@@ -245,6 +245,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
|
|||||||
window.fetch("/api/v1/get/webauthn-tfa-get-args", {method:'GET',cache:'no-cache'}).then(response => {
|
window.fetch("/api/v1/get/webauthn-tfa-get-args", {method:'GET',cache:'no-cache'}).then(response => {
|
||||||
return response.json();
|
return response.json();
|
||||||
}).then(json => {
|
}).then(json => {
|
||||||
|
console.log(json);
|
||||||
if (json.success === false) throw new Error();
|
if (json.success === false) throw new Error();
|
||||||
if (json.type === "error") throw new Error(json.msg);
|
if (json.type === "error") throw new Error(json.msg);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user