Get rid of tintin and switch order of request variable to achieve last, a=chris
Get rid of tintin and switch order of request variable to achieve last, a=chris
diff --git a/src/controllers/RegisterController.php b/src/controllers/RegisterController.php
index c15e8c65d..ea5aa2db5 100755
--- a/src/controllers/RegisterController.php
+++ b/src/controllers/RegisterController.php
@@ -351,9 +351,9 @@ class RegisterController extends Controller implements CrawlConstants
$creation_time = vsprintf('%d.%06d', gettimeofday());
$message .= C\BASE_URL.
"?c=register&a=emailVerification&email=".
- $user['EMAIL']."&time=".$user['CREATION_TIME'].
- "&hash=".urlencode(L\crawlCrypt($user['HASH'])).
- "&tintin=is_cool";
+ $user['EMAIL'].
+ "&hash=" . urlencode(L\crawlCrypt($user['HASH'])).
+ "&time=" . $user['CREATION_TIME'];
$server->send($subject, C\MAIL_SENDER, $data['EMAIL'],
$message);
if (C\CAPTCHA_MODE == C\TEXT_CAPTCHA) {
@@ -527,10 +527,10 @@ class RegisterController extends Controller implements CrawlConstants
$time = time();
$message .= C\BASE_URL.
"?c=register&a=recoverComplete&user=" .
- $user['USER_NAME']."&time=" . $time .
+ $user['USER_NAME'].
"&hash=".urlencode(L\crawlCrypt(
- $user['HASH'].$time.$user['USER_NAME'].C\AUTH_KEY)) .
- "&tintin=is_cool";
+ $user['HASH'] . $time . $user['USER_NAME'].C\AUTH_KEY)) .
+ "&time=" . $time ;
$server->send($subject, C\MAIL_SENDER, $user['EMAIL'], $message);
unset($_SESSION['CAPTCHA_ANSWERS']);
unset($_SESSION['CAPTCHA']);