‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Command\ResetPasswordCommand Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Command\ResetPasswordCommand:

Protected Member Functions

 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 
ServerRequestInterface createFakeWebRequest (string $backendUrl)
 
 simulateEnvironmentForBackendEntryPoint ()
 

Detailed Description

Triggers the workflow to request a new password for a user.

Definition at line 37 of file ResetPasswordCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Backend\Command\ResetPasswordCommand::configure ( )
protected

Configure the command by defining the name, options and arguments

Definition at line 42 of file ResetPasswordCommand.php.

◆ createFakeWebRequest()

◆ execute()

TYPO3\CMS\Backend\Command\ResetPasswordCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the command for sending out an email to reset the password.

@inheritDoc

Definition at line 61 of file ResetPasswordCommand.php.

References $GLOBALS, $output, TYPO3\CMS\Backend\Command\ResetPasswordCommand\createFakeWebRequest(), and TYPO3\CMS\Core\Utility\GeneralUtility\isValidUrl().

◆ simulateEnvironmentForBackendEntryPoint()