frontend/models/LoginFictive.php
/**
     * Validates the Hash for fictive login.
     *
     * @return bool
     */
Validates the Hash for fictive login.
@return bool
Validates the Hash for fictive login . @return bool
public function validateHash()
    {
        $user = $this->getUser();
        if ($user) {
            if ($this->fu_hs === hash("sha512", $user->user_email . $user->password_hash)) {
                return true;
            }
        }
        return false;
    }
public function validateHash ( ) { $ user = $ this -> getUser ( ) ; if ( $ user ) { if ( $ this -> fu_hs === hash ( " sha512 " , $ user -> user_email . $ user -> password_hash ) ) { return true ; } } return false ; }
Validates the Hash for fictive login.
Validates the Hash for fictive login .