src/apis/UserController.php
private function hasOpenEmailValidation(User $user)
    {
        $ts = $user->email_verification_token_timestamp;
        if (!empty($ts) && (time() - $this->module->emailVerificationTokenExpirationTime) <= $ts) {
            return true;
        }
        
        return false;
    }
private function hasOpenEmailValidation(User $user)
    {
        $ts = $user->email_verification_token_timestamp;
        if (!empty($ts) && (time() - $this->module->emailVerificationTokenExpirationTime) <= $ts) {
            return true;
        }
        
        return false;
    }
private function hasOpenEmailValidation ( User $ user ) { $ ts = $ user -> email_verification_token_timestamp ; if ( ! empty ( $ ts ) && ( time ( ) - $ this -> module -> emailVerificationTokenExpirationTime ) <= $ ts ) { return true ; } return false ; }
Ensure whether the current user has an active email verification token or not.

@param User $user The user object to evaluate.
@return boolean
Ensure whether the current user has an active email verification token or not .