mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
fix unsubscribe links
This commit is contained in:
parent
497eed0f0c
commit
4259e3cc87
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class MailActions extends Actions
|
|||
|
||||
public static function executeUnsubscribe(string $email)
|
||||
{
|
||||
$decodedEmail = Encoding::base64DecodeUrlsafe($email);
|
||||
$decodedEmail = Encoding::base64DecodeUrlsafe(urldecode($email));
|
||||
if (!$decodedEmail)
|
||||
{
|
||||
return ['mail/unsubscribe', ['error' => 'Invalid unsubscribe link']];
|
||||
|
|
Loading…
Add table
Reference in a new issue