mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Fix missing token from unsub link
This commit is contained in:
parent
de9745c7cf
commit
9877023bb4
@ -75,7 +75,7 @@ class SendIncidentEmailNotificationHandler
|
||||
'htmlContent' => $data->formattedMessage,
|
||||
'textContent' => $data->message,
|
||||
'token' => $subscriber->token,
|
||||
'unsubscribeLink' => route('unsubscribe', $subscriber->token),
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->token]),
|
||||
];
|
||||
|
||||
$this->mailer->queue([
|
||||
|
@ -75,7 +75,7 @@ class SendMaintenanceEmailNotificationHandler
|
||||
'htmlContent' => $data->formattedMessage,
|
||||
'textContent' => $data->message,
|
||||
'token' => $subscriber->token,
|
||||
'unsubscribeLink' => route('unsubscribe', $subscriber->token),
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->token]),
|
||||
];
|
||||
|
||||
$this->mailer->queue([
|
||||
|
Loading…
x
Reference in New Issue
Block a user