Tightened up 2FA text
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
de18e449a6
commit
f2a5eac256
1 changed files with 3 additions and 4 deletions
|
@ -715,13 +715,12 @@ $(document).ready(function() {
|
||||||
|
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
$("#two_factor_reseticon").html('');
|
$("#two_factor_reseticon").html('');
|
||||||
$("#two_factor_resetstatus").html('<i class="fas fa-check text-success"></i>' + data.message);
|
$("#two_factor_resetstatus").html('<span class="text-success"><i class="fas fa-check"></i> ' + data.message + '</span>');
|
||||||
},
|
},
|
||||||
|
|
||||||
error: function (data) {
|
error: function (data) {
|
||||||
$("#two_factor_reseticon").html('');
|
$("#two_factor_reseticon").html('');
|
||||||
$("#two_factor_reseticon").html('<i class="fas fa-exclamation-triangle text-danger"></i>');
|
$("#two_factor_resetstatus").html('<span class="text-danger"><i class="fas fa-exclamation-triangle text-danger"></i> ' + data.message + '</span>');
|
||||||
$('#two_factor_resetstatus').text(data.message);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue