error msg
This commit is contained in:
parent
d446057524
commit
1d02c1d424
|
@ -445,3 +445,6 @@ span.dap-small-text.js-scope-desc.noselect {
|
|||
color : #808080;
|
||||
color : rgb(128, 128, 128);
|
||||
}
|
||||
.error-msg {
|
||||
color: #FDA748;
|
||||
}
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
<p class="code-lasts-text">Code lasts for 15 minutes.</p>
|
||||
<input type="hidden" class="js-authn-otp-uuid">
|
||||
<input class="dap-input js-authn-otp-code form-control" placeholder="XXXX-XXXX-XXXX" maxlength="14"></input>
|
||||
<p class="error-msg"></p>
|
||||
</div>
|
||||
<div class="dap-centered-div dap-space-on-top form-group">
|
||||
<label class="js-remember-label dap-normal-text">
|
||||
|
|
|
@ -311,9 +311,8 @@ $(function () {
|
|||
return getAccount(session).then(function () {
|
||||
return getGrants(session);
|
||||
});
|
||||
}, function (err) {
|
||||
console.log("oooooooppppps");
|
||||
console.log(err);
|
||||
}, function (error) {
|
||||
$('.error-msg').text('Incorrect code');
|
||||
});
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue