mirror of https://github.com/gophish/gophish
Fixed issue with sorting by login date of users
parent
34f7457294
commit
3863ad31b9
File diff suppressed because one or more lines are too long
|
@ -203,7 +203,7 @@ const load = () => {
|
|||
userTable.clear();
|
||||
userRows = []
|
||||
$.each(users, (i, user) => {
|
||||
lastlogin = "Never"
|
||||
lastlogin = ""
|
||||
if (user.last_login != "0001-01-01T00:00:00Z") {
|
||||
lastlogin = moment(user.last_login).format('MMMM Do YYYY, h:mm:ss a')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue