src/Form/ResetPassword.php
public function get($elementOrFieldset)
    {
        if (!parent::has($elementOrFieldset)
            && $elementOrFieldset === 'identity'
            && $this->identityElement
        ) {
            $elementOrFieldset = $this->identityElement->getName();
        }

        return parent::get($elementOrFieldset);
    }
public function get($elementOrFieldset)
    {
        if (!parent::has($elementOrFieldset)
            && $elementOrFieldset === 'identity'
            && $this->identityElement
        ) {
            $elementOrFieldset = $this->identityElement->getName();
        }

        return parent::get($elementOrFieldset);
    }
{@inheritDoc}