mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-13 03:45:26 +01:00
Merge pull request #846 from cachethq/unsubscribe-fix
Fix the token sent to unsubscribe
This commit is contained in:
commit
573a301957
@ -73,7 +73,7 @@ class SendIncidentEmailNotificationHandler
|
||||
'htmlContent' => $data->formattedMessage,
|
||||
'textContent' => $data->message,
|
||||
'token' => $subscriber->token,
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->token]),
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->verify_code]),
|
||||
'appUrl' => env('APP_URL'),
|
||||
];
|
||||
|
||||
|
@ -71,7 +71,7 @@ class SendMaintenanceEmailNotificationHandler
|
||||
'htmlContent' => $data->formattedMessage,
|
||||
'textContent' => $data->message,
|
||||
'token' => $subscriber->token,
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->token]),
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->verify_code]),
|
||||
'appUrl' => env('APP_URL'),
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user