code/control/LDAPSecurityController.php
public function LostPasswordForm()
    {
        $email = new EmailField('Email', _t('Member.EMAIL', 'Email'));
        $action = new FormAction('forgotPassword', _t('Security.BUTTONSEND', 'Send me the password reset link'));
        return LDAPLoginForm::create($this,
            'LostPasswordForm',
            new FieldList([$email]),
            new FieldList([$action]),
            false
        );
    }
public function LostPasswordForm()
    {
        $email = new EmailField('Email', _t('Member.EMAIL', 'Email'));
        $action = new FormAction('forgotPassword', _t('Security.BUTTONSEND', 'Send me the password reset link'));
        return LDAPLoginForm::create($this,
            'LostPasswordForm',
            new FieldList([$email]),
            new FieldList([$action]),
            false
        );
    }
Factory method for the lost password form

@return Form Returns the lost password form