Skip to content

Commit

Permalink
Merge pull request #10 from JamesAlias/3.0
Browse files Browse the repository at this point in the history
TASK: Allow triggering resetPasswortFlow via arbitrary endpoints
  • Loading branch information
beheist authored Jan 4, 2017
2 parents 08f4a04 + a4e8370 commit db3dd4c
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ public function indexAction()
{
}

public function initializeRequestTokenAction()
{
$config = $this->arguments->getArgument('resetPasswordFlow')->getPropertyMappingConfiguration();
$config->allowProperties('email');
$config->setTypeConverterOption(
\TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter::class,
\TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED,
TRUE
);
}

/**
* @param ResetPasswordFlow $resetPasswordFlow
*/
Expand Down

0 comments on commit db3dd4c

Please sign in to comment.