mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Auto commit for release 'branch-v6.2' on 2024-12-14
This commit is contained in:
@@ -40,7 +40,6 @@ class EnabledMFANotification extends Notification
|
||||
|
||||
private User $user;
|
||||
|
||||
|
||||
public function __construct(User $user)
|
||||
{
|
||||
$this->user = $user;
|
||||
@@ -82,7 +81,8 @@ class EnabledMFANotification extends Notification
|
||||
public function toPushover(User $notifiable): PushoverMessage
|
||||
{
|
||||
return PushoverMessage::create((string) trans('email.enabled_mfa_slack', ['email' => $this->user->email]))
|
||||
->title((string) trans('email.enabled_mfa_subject'));
|
||||
->title((string) trans('email.enabled_mfa_subject'))
|
||||
;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -95,7 +95,6 @@ class EnabledMFANotification extends Notification
|
||||
return new SlackMessage()->content($message);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user