Fix FailedLogin notification

This commit is contained in:
Bubka 2024-04-26 10:32:32 +02:00
parent 4f5274bfe5
commit 091ac41a08
3 changed files with 2 additions and 3 deletions

View File

@ -54,7 +54,7 @@ public function toMail(mixed $notifiable) : MailMessage
'account' => $notifiable,
'time' => $this->authLog->login_at,
'ipAddress' => $this->authLog->ip_address,
'browser' => $this->authLog->user_agent,
'browser' => $this->agent->browser(),
'platform' => $this->agent->platform(),
]);
}

View File

@ -22,7 +22,7 @@
'success' => 'Good news, it works :)'
],
'new_device' => [
'subject' => 'New connection to 2FAuth',
'subject' => 'Connection to 2FAuth from a new device',
'resume' => 'A new device has just connected to your 2FAuth account.',
'connection_details' => 'Here are the details of this connection',
'recommandations' => 'If this was you, you can ignore this alert. If you suspect any suspicious activity on your account, please change your password.'

View File

@ -1,4 +1,3 @@
@component('mail::message')
@lang('notifications.hello_user', ['username' => $account->name])
<br/><br/>