src/Security/Security.php
public function lostpassword()
    {
        $handlers = [];
        $authenticators = $this->getApplicableAuthenticators(Authenticator::RESET_PASSWORD);
        /** @var Authenticator $authenticator */
        foreach ($authenticators as $authenticator) {
            $handlers[] = $authenticator->getLostPasswordHandler(
                Controller::join_links($this->Link(), 'lostpassword')
            );
        }

        return $this->delegateToMultipleHandlers(
            $handlers,
            _t('SilverStripe\\Security\\Security.LOSTPASSWORDHEADER', 'Lost Password'),
            $this->getTemplatesFor('lostpassword'),
            [$this, 'aggregateAuthenticatorResponses']
        );
    }
public function lostpassword()
    {
        $handlers = [];
        $authenticators = $this->getApplicableAuthenticators(Authenticator::RESET_PASSWORD);
        /** @var Authenticator $authenticator */
        foreach ($authenticators as $authenticator) {
            $handlers[] = $authenticator->getLostPasswordHandler(
                Controller::join_links($this->Link(), 'lostpassword')
            );
        }

        return $this->delegateToMultipleHandlers(
            $handlers,
            _t('SilverStripe\\Security\\Security.LOSTPASSWORDHEADER', 'Lost Password'),
            $this->getTemplatesFor('lostpassword'),
            [$this, 'aggregateAuthenticatorResponses']
        );
    }
public function lostpassword ( ) { $ handlers = [ ] ; $ authenticators = $ this -> getApplicableAuthenticators ( Authenticator :: RESET_PASSWORD ) ; /** @var Authenticator $authenticator */ foreach ( $ authenticators as $ authenticator ) { $ handlers [ ] = $ authenticator -> getLostPasswordHandler ( Controller :: join_links ( $ this -> Link ( ) , 'lostpassword' ) ) ; } return $ this -> delegateToMultipleHandlers ( $ handlers , _t ( 'SilverStripe\\Security\\Security.LOSTPASSWORDHEADER' , 'Lost Password' ) , $ this -> getTemplatesFor ( 'lostpassword' ) , [ $ this , 'aggregateAuthenticatorResponses' ] ) ; }
Show the "lost password" page

@return string Returns the "lost password" page as HTML code.
Show the lost password page