mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-07-12 23:14:39 +00:00
less ip info
This commit is contained in:
parent
763afed32f
commit
d7e45e2e87
3 changed files with 24 additions and 5 deletions
|
|
@ -36,7 +36,7 @@
|
|||
{#each logins as login, i}
|
||||
<tr>
|
||||
<td>
|
||||
<code>{login.hostname} - {login.ip_address}</code>
|
||||
<code>{login.ipAddress.ip}</code>
|
||||
</td>
|
||||
<td>{moment(login.login_time).format('MMMM Do YYYY, h:mm:ss a')} ({moment(login.login_time).fromNow()})</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@
|
|||
<td>{moment(user.created).fromNow()}</td>
|
||||
<td>{#if user.last_login.time}
|
||||
{moment(user.last_login.time).fromNow()}<br/>
|
||||
<code>{user.last_login.hostname} - {user.last_login.ip}</code>
|
||||
<code>{user.last_login.ip}</code>
|
||||
{:else}
|
||||
Never logged in
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue