diff --git a/ui/src/sso.js b/ui/src/sso.js index 3c445595a5be81a8f26ff75423a12532eef936e0..b9b46a0c6219905281a8188effc110e2f0b49a41 100644 --- a/ui/src/sso.js +++ b/ui/src/sso.js @@ -87,7 +87,7 @@ document.addEventListener("DOMContentLoaded", function() { const utf8Decoder = new TextDecoder('utf-8'); const decodedClientData = utf8Decoder.decode( credential.response.clientDataJSON); - + // parse the string as an object const clientDataObj = JSON.parse(decodedClientData); @@ -100,7 +100,7 @@ document.addEventListener("DOMContentLoaded", function() { // RFC, if present, as that's just confusing to the user. var msg = error.message.replace(/\..*$/, '.'); document.getElementById('u2fError').innerText = msg; - console.log('WebAuthN Error: ' + msg); + console.log('WebAuthN ERROR: ' + msg); }); }