Admin view will show some IP addresses.

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-08-03 20:57:01 +02:00
parent d870e0f42e
commit 1186e95c51
7 changed files with 125 additions and 2 deletions

View File

@@ -17,6 +17,8 @@
<th colspan="2">&nbsp;</th>
<th>{{ trans('list.email') }}</th>
<th>{{ trans('list.registered_at') }}</th>
<th>{{ trans('list.registered_from') }}</th>
<th>{{ trans('list.confirmed_from') }}</th>
<th>{{ trans('list.is_admin') }}</th>
<th>{{ trans('list.has_two_factor') }}</th>
<th>{{ trans('list.is_activated') }}</th>
@@ -34,6 +36,12 @@
{{ user.created_at.formatLocalized(monthAndDayFormat) }}
{{ user.created_at.format('H:i') }}
</td>
<td>
{{ Preferences.getForUser(user,"registration_ip_address").data }}
</td>
<td>
{{ Preferences.getForUser(user,"confirmation_ip_address").data }}
</td>
<td>
{% if user.isAdmin %}
<small class="text-success"><i class="fa fa-fw fa-check"></i></small>