You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I've just found that that the recent_account_logins() function in linux_json_api.sh script doesn't provide any check whether the "From" column of lastlog output is a non-empty string. It results in a weird formatting of the Recent Logins section on the Dash:
The awk script in the recent_account_logins() that the lastlog's output is piped to, just prints a hardcoded set of columns, which just "shifts" some of them to the left if one is an empty string, making the first part of the date appear in the IP column.
Hi!
I've just found that that the recent_account_logins() function in linux_json_api.sh script doesn't provide any check whether the "From" column of lastlog output is a non-empty string. It results in a weird formatting of the Recent Logins section on the Dash:
The awk script in the recent_account_logins() that the lastlog's output is piped to, just prints a hardcoded set of columns, which just "shifts" some of them to the left if one is an empty string, making the first part of the date appear in the IP column.
My lastlog's output:
I am willing to fix this issue, when I find some time. Just wanted to inform you about the issue.
The text was updated successfully, but these errors were encountered: