Skip to content

Instantly share code, notes, and snippets.

@PetraMotz
Created August 4, 2021 11:58
Show Gist options
  • Save PetraMotz/1a708ba938c9b1bb57d00e8685f1acb8 to your computer and use it in GitHub Desktop.
Save PetraMotz/1a708ba938c9b1bb57d00e8685f1acb8 to your computer and use it in GitHub Desktop.
TYPO3 #t3 #login
public function fixFeloginPasswordReset() {
//mail('[email protected]', 'debug', 'login');
if ($_REQUEST['tx_felogin_pi1']['forgot_hash']) {
$GLOBALS['TSFE']->fe_user->setAndSaveSessionData('forgot_hash', ['forgot_hash' => $_REQUEST['tx_felogin_pi1']['forgot_hash']]);
}
}
page.1 = USER_INT
page.1 {
userFunc = Webx\WebxRealestates\Controller\RegisterController->fixFeloginPasswordReset
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment