protected function setUserForgot()
    {
        $token = $this->getQuery('key');
        $user_id = $this->getQuery('user_id');

        $this->data_user = array();

        if (!empty($token) && is_numeric($user_id)) {
            $this->data_user = $this->user->get($user_id);
            $this->controlTokenUserForgot($this->data_user, $token);
        }
    }
protected function setUserForgot()
    {
        $token = $this->getQuery('key');
        $user_id = $this->getQuery('user_id');

        $this->data_user = array();

        if (!empty($token) && is_numeric($user_id)) {
            $this->data_user = $this->user->get($user_id);
            $this->controlTokenUserForgot($this->data_user, $token);
        }
    }
protected function setUserForgot ( ) { $ token = $ this -> getQuery ( 'key' ) ; $ user_id = $ this -> getQuery ( 'user_id' ) ; $ this -> data_user = array ( ) ; if ( ! empty ( $ token ) && is_numeric ( $ user_id ) ) { $ this -> data_user = $ this -> user -> get ( $ user_id ) ; $ this -> controlTokenUserForgot ( $ this -> data_user , $ token ) ; } }
Returns a user from the current reset password URL
Returns a user from the current reset password URL