Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swoole runtime for Symfony - remember_me does not work. #168

Open
maxkain opened this issue Mar 15, 2024 · 0 comments
Open

Swoole runtime for Symfony - remember_me does not work. #168

maxkain opened this issue Mar 15, 2024 · 0 comments

Comments

@maxkain
Copy link

maxkain commented Mar 15, 2024

With this runtime remember_me is not set. I changed few lines of method reflectSymfonyResponse of SymfonyHttpBridge from:

  foreach ($sfResponse->headers->all() as $name => $values) {
      foreach ((array) $values as $value) {
          $response->header((string) $name, $value);
      }
  }

to:

  foreach ($sfResponse->headers->all() as $name => $values) {
      $response->header((string) $name, $values);
  }

And it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant