mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
More work on login tokens.
This commit is contained in:
parent
4231f4071b
commit
6c3e010ce9
4 changed files with 35 additions and 24 deletions
|
@ -3334,7 +3334,7 @@
|
|||
x += '<div style=max-height:260px;overflow-y:scroll;overflow-x:hidden><table>';
|
||||
for (var i in message.events) {
|
||||
var m = message.events[i].m;
|
||||
if (m == 107) { m = "Valid login"; c = 'BBD1BB'; xx = ''; }
|
||||
if (m == 107) { m = "Valid login"; c = 'BBD1BB'; xx = ''; if (message.events[i].tn != null) { m = format("Token: {0}", message.events[i].tn); c = '88D188' } }
|
||||
else if (m == 108) { m = "Invalid 2FA"; c ='DD9DC3'; xx = 'x'; }
|
||||
else if (m == 109) { m = "Locked account"; c ='E1BBBB'; xx = 'x'; }
|
||||
else if (m == 110) { m = "Invalid password"; c = 'E1BBBB'; xx = 'x'; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue