mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Change user logs format & Remove Updated On information
This commit is contained in:
parent
5d01685ae1
commit
a5b722c560
@ -90,9 +90,8 @@ public function toArray($request)
|
||||
parent::toArray($request),
|
||||
[
|
||||
'twofaccounts_count' => is_null($this->twofaccounts_count) ? 0 : $this->twofaccounts_count,
|
||||
'last_seen_at' => Carbon::parse($this->last_seen_at)->toDateString(),
|
||||
'created_at' => Carbon::parse($this->created_at)->toDateString(),
|
||||
'updated_at' => Carbon::parse($this->updated_at)->toDateString(),
|
||||
'last_seen_at' => Carbon::parse($this->last_seen_at)->locale(App::getLocale())->diffForHumans(),
|
||||
'created_at' => Carbon::parse($this->created_at)->locale(App::getLocale())->diffForHumans(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
@ -281,9 +281,8 @@
|
||||
<h2 class="title is-4 has-text-grey-light">{{ $t('admin.logs') }}</h2>
|
||||
<div class="block">
|
||||
<ul class="is-size-6 is-size-7-mobile">
|
||||
<li>{{ $t('admin.last_seen_on_date', { date: managedUser.info.last_seen_at }) }}</li>
|
||||
<li>{{ $t('admin.registered_on_date', { date: managedUser.info.created_at }) }}</li>
|
||||
<li>{{ $t('admin.updated_on_date', { date: managedUser.info.updated_at }) }}</li>
|
||||
<li>{{ $t('admin.last_seen_on_date', { date: managedUser.info.last_seen_at }) }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- danger zone -->
|
||||
|
@ -39,9 +39,9 @@
|
||||
'user_management' => 'User management',
|
||||
'oauth_provider' => 'OAuth provider',
|
||||
'account_bound_to_x_via_oauth' => 'This account is bound to a :provider account via OAuth',
|
||||
'last_seen_on_date' => 'Last seen at :date',
|
||||
'registered_on_date' => 'Registered on :date',
|
||||
'updated_on_date' => 'Updated on :date',
|
||||
'last_seen_on_date' => 'Last seen :date',
|
||||
'registered_on_date' => 'Registered :date',
|
||||
'updated_on_date' => 'Updated :date',
|
||||
'access' => 'Access',
|
||||
'password_requested_on_t' => 'A password reset request exists for this user (request sent at :datetime) meaning the user didn\'t change its password yet but the link he received is still valid. This could be a request from the user himself or from an administrator.',
|
||||
'password_request_expired' => 'A password reset request exists for this user but has expired, meaning the user didn\'t change its password in time. This could be a request from the user himself or from an administrator.',
|
||||
|
Loading…
Reference in New Issue
Block a user