Commit e4fdcb9e authored by Mark Harding's avatar Mark Harding
Browse files

(chore): january token gift

parent d3b9a8ec
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
You've received a gift of 1 Minds token! You can spend this token to earn 1,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
@@ -75,7 +75,7 @@ class EmailRewards
              $validator = $_GET['validator'];
              $validator = $_GET['validator'];
              //$key = '.md';
              //$key = '.md';
              //return;
              //return;
              if ($validator == sha1($campaign . 'gift-30-10-19.mdl' . $topic . $user->guid . Config::_()->get('emails_secret'))) {
              if ($validator == sha1($campaign . 'gift-29-01-20.mdl' . $topic . $user->guid . Config::_()->get('emails_secret'))) {
                  $tokens = 1 * (10 ** 18);
                  $tokens = 1 * (10 ** 18);
                  $campaign = $validator; //hack
                  $campaign = $validator; //hack
              } else {
              } else {