mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-07 17:04:34 +01:00
Fix FailedLogin notification
This commit is contained in:
parent
4f5274bfe5
commit
091ac41a08
@ -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(),
|
||||
]);
|
||||
}
|
||||
|
@ -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.'
|
||||
|
1
resources/views/emails/failedLogin.blade.php
vendored
1
resources/views/emails/failedLogin.blade.php
vendored
@ -1,4 +1,3 @@
|
||||
|
||||
@component('mail::message')
|
||||
@lang('notifications.hello_user', ['username' => $account->name])
|
||||
<br/><br/>
|
||||
|
Loading…
Reference in New Issue
Block a user