public function unsetAdminRecoveryData()
    {
        $oSession              = Factory::service('Session', 'nails/module-auth');
        $aExistingRecoveryData = $oSession->getUserData($this->sAdminRecoveryField);

        if (empty($aExistingRecoveryData)) {
            $aExistingRecoveryData = [];
        } else {
            array_pop($aExistingRecoveryData);
        }

        $oSession->setUserData($this->sAdminRecoveryField, $aExistingRecoveryData);
    }
public function unsetAdminRecoveryData()
    {
        $oSession              = Factory::service('Session', 'nails/module-auth');
        $aExistingRecoveryData = $oSession->getUserData($this->sAdminRecoveryField);

        if (empty($aExistingRecoveryData)) {
            $aExistingRecoveryData = [];
        } else {
            array_pop($aExistingRecoveryData);
        }

        $oSession->setUserData($this->sAdminRecoveryField, $aExistingRecoveryData);
    }
public function unsetAdminRecoveryData ( ) { $ oSession = Factory :: service ( 'Session' , 'nails/module-auth' ) ; $ aExistingRecoveryData = $ oSession -> getUserData ( $ this -> sAdminRecoveryField ) ; if ( empty ( $ aExistingRecoveryData ) ) { $ aExistingRecoveryData = [ ] ; } else { array_pop ( $ aExistingRecoveryData ) ; } $ oSession -> setUserData ( $ this -> sAdminRecoveryField , $ aExistingRecoveryData ) ; }
Removes the most recently added recovery data from the stack

@return void
Removes the most recently added recovery data from the stack