Commit 2ead59f1 authored by Mark Harding's avatar Mark Harding
Browse files

(feat): june token email

parent b6774038
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
You've received a gift of 5 Minds tokens! You can spend these tokens to earn 5,000 extra views on your content with [Boost](https://www.minds.com/boost?__e_ct_guid=<?= $vars['guid']?>&campaign=<?= $vars['campaign']?>&topic=<?= $vars['topic'] ?>&validator=<?= $vars['validator'] ?>) or to tip your favorite content creators with [Wire](https://www.minds.com/wire?__e_ct_guid=<?= $vars['guid']?>&campaign=<?= $vars['campaign']?>&topic=<?= $vars['topic'] ?>&validator=<?= $vars['validator'] ?>).

Please use the button below to claim your gift (note: you will need to open the link in a web browser, the mobile app is not yet supported): 

| |
|:--:|
| [![Claim Gift](https://cdn-assets.minds.com/emails/claim-gift.png){=150x}](https://www.minds.com/wallet/tokens/transactions?__e_ct_guid=<?= $vars['guid']?>&campaign=<?= $vars['campaign']?>&topic=<?= $vars['topic'] ?>&validator=<?= $vars['validator'] ?>) |
| |

+1 −1
Original line number Original line Diff line number Diff line
@@ -74,7 +74,7 @@ class EmailRewards
              $validator = $_GET['validator'];
              $validator = $_GET['validator'];
              //$key = '.md';
              //$key = '.md';
              //return;
              //return;
              if ($validator == sha1($campaign . 'gift-24-05-19.md' . $topic . $user->guid . Config::_()->get('emails_secret'))) {
              if ($validator == sha1($campaign . 'gift-25-06-19.md' . $topic . $user->guid . Config::_()->get('emails_secret'))) {
                  $tokens = 5 * (10 ** 18);
                  $tokens = 5 * (10 ** 18);
                  $campaign = $validator; //hack
                  $campaign = $validator; //hack
              } else {
              } else {