Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
132
Issues
132
List
Boards
Labels
Service Desk
Milestones
Merge Requests
26
Merge Requests
26
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
32b1f6ff
Commit
32b1f6ff
authored
41 minutes ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): email on a friday
parent
8bd9d70c
master
No related merge requests found
Pipeline
#63061617
passed with stages
in 8 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
EmailRewards.php
Helpers/Campaigns/EmailRewards.php
+5
-5
No files found.
Helpers/Campaigns/EmailRewards.php
View file @
32b1f6ff
...
...
@@ -68,14 +68,14 @@ class EmailRewards
break
;
case
"global"
:
$topic
=
$_GET
[
'topic'
];
if
(
$topic
!=
'
minds_new
s'
)
{
if
(
$topic
!=
'
exclusive_promotion
s'
)
{
return
;
}
$validator
=
$_GET
[
'validator'
];
$key
=
'rogan
.md'
;
return
;
if
(
$validator
==
sha1
(
$campaign
.
'
rogan
.md'
.
$topic
.
$user
->
guid
.
Config
::
_
()
->
get
(
'emails_secret'
)))
{
$tokens
=
3
*
(
10
**
18
);
//$key = '
.md';
//
return;
if
(
$validator
==
sha1
(
$campaign
.
'
gift-24-05-19
.md'
.
$topic
.
$user
->
guid
.
Config
::
_
()
->
get
(
'emails_secret'
)))
{
$tokens
=
5
*
(
10
**
18
);
$campaign
=
$validator
;
//hack
}
else
{
return
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment