ResetPasswordController

class \TYPO3\CMS\Backend\Controller\ResetPasswordController

Uses
PageRendererBackendSetupTrait

Controller responsible for rendering and processing backend user password reset requests.

Attributes

#[AsController]

Table of Contents

Properties

$authenticationStyleInformation  : AuthenticationStyleInformation
$backendViewFactory  : BackendViewFactory
$context  : Context
$extensionConfiguration  : ExtensionConfiguration
$features  : Features
$locales  : Locales
$loginProvider  : string
$pageRenderer  : PageRenderer
$passwordReset  : PasswordReset
$typo3Information  : Typo3Information
$uriBuilder  : UriBuilder
$view  : ViewInterface

Methods

__construct()  : mixed
forgetPasswordFormAction()  : ResponseInterface
Show a form to enter an email address to request a password reset email.
initiatePasswordResetAction()  : ResponseInterface
Validate the email address.
passwordResetAction()  : ResponseInterface
Validates the link and show a form to enter the new password.
passwordResetFinishAction()  : ResponseInterface
Updates the password in the database.
getBackendFavicon()  : string
Retrieves configured favicon for backend with fallback.
getBackendUserAuthentication()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getPasswordRequirements()  : array
getUriForFileName()  : string
Returns the uri for a system resource
initialize()  : void
initializeForgetPasswordView()  : void
initializeResetPasswordView()  : void
loadStylesheets()  : void
Load all registered stylesheets from $GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']
provideCustomLoginStyling()  : void
setUpBasicPageRendererForBackend()  : void
Sets mandatory parameters for the PageRenderer.

Properties

$loginProvider

protected string $loginProvider = ''

Methods

__construct()

public __construct(Context $context, Locales $locales, Features $features, UriBuilder $uriBuilder, PageRenderer $pageRenderer, PasswordReset $passwordReset, Typo3Information $typo3Information, AuthenticationStyleInformation $authenticationStyleInformation, ExtensionConfiguration $extensionConfiguration, BackendViewFactory $backendViewFactory) : mixed

Parameters

$context : Context
$locales : Locales
$features : Features
$uriBuilder : UriBuilder
$pageRenderer : PageRenderer
$passwordReset : PasswordReset
$typo3Information : Typo3Information
$authenticationStyleInformation : AuthenticationStyleInformation
$extensionConfiguration : ExtensionConfiguration
$backendViewFactory : BackendViewFactory

forgetPasswordFormAction()

Show a form to enter an email address to request a password reset email.

public forgetPasswordFormAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

initiatePasswordResetAction()

Validate the email address.

public initiatePasswordResetAction(ServerRequestInterface $request) : ResponseInterface

Restricted to POST method in Configuration/Backend/Routes.php

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

passwordResetAction()

Validates the link and show a form to enter the new password.

public passwordResetAction(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

passwordResetFinishAction()

Updates the password in the database.

public passwordResetFinishAction(ServerRequestInterface $request) : ResponseInterface

Restricted to POST method in Configuration/Backend/Routes.php

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

getBackendFavicon()

Retrieves configured favicon for backend with fallback.

protected getBackendFavicon(ExtensionConfiguration $extensionConfiguration, ServerRequestInterface $request) : string

Parameters

$extensionConfiguration : ExtensionConfiguration
$request : ServerRequestInterface

Return values

string

getPasswordRequirements()

protected getPasswordRequirements() : array

Return values

array

initialize()

protected initialize(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

initializeForgetPasswordView()

protected initializeForgetPasswordView(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

initializeResetPasswordView()

protected initializeResetPasswordView(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

loadStylesheets()

Load all registered stylesheets from $GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']

protected loadStylesheets(PageRenderer $pageRenderer) : void

Parameters

$pageRenderer : PageRenderer

provideCustomLoginStyling()

protected provideCustomLoginStyling(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface
On this page