Skip to content
Snippets Groups Projects
Commit 0ff01a9c authored by Patrick Kroog's avatar Patrick Kroog Committed by Benni Mack
Browse files

[TASK] Remove "no RDCT"-workaround in fe_users Forgot-Password mail

As the used method sendNotifyEmail doesnt substitute URLs
with \TYPO3\CMS\Core\Utility\GeneralUtility::substUrlsInPlainText
the former workaround for security reasons is not needed.

Resolves: #62782
Releases: master
Change-Id: Ie7d57cd3e1925c6442982c87b53f3a5ee8feb6e0
Reviewed-on: http://review.typo3.org/23658


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenjamin Mack <benni@typo3.org>
Tested-by: default avatarBenjamin Mack <benni@typo3.org>
parent fd2d7673
No related branches found
No related tags found
No related merge requests found
......@@ -437,13 +437,10 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
}
}
}
// no RDCT - Links for security reasons
$oldSetting = $GLOBALS['TSFE']->config['config']['notification_email_urlmode'];
$GLOBALS['TSFE']->config['config']['notification_email_urlmode'] = 0;
// Send the email
$this->cObj->sendNotifyEmail($msg, $user['email'], '', $this->conf['email_from'], $this->conf['email_fromName'], $this->conf['replyTo']);
// Restore settings
$GLOBALS['TSFE']->config['config']['notification_email_urlmode'] = $oldSetting;
if ($user['email']) {
$this->cObj->sendNotifyEmail($msg, $user['email'], '', $this->conf['email_from'], $this->conf['email_fromName'], $this->conf['replyTo']);
}
return '';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment