diff --git a/js/issuer.js b/js/issuer.js index a6c34f3..20e9825 100644 --- a/js/issuer.js +++ b/js/issuer.js @@ -262,7 +262,7 @@ $(function () { // Reference Implementation util.submitLoginCode = function (opts) { - console.log("clicked???") + // TODO // perhaps we should check that the code is valid before continuing to login (so that we don't send the key) @@ -311,6 +311,8 @@ $(function () { return getAccount(session).then(function () { return getGrants(session); }); + }, function (err) { + console.log(err); }); };