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

Cant Spool Email and Authenticate User Login in Same Response #8188

Closed
carlcraig opened this issue Jun 4, 2013 · 2 comments
Closed

Cant Spool Email and Authenticate User Login in Same Response #8188

carlcraig opened this issue Jun 4, 2013 · 2 comments

Comments

@carlcraig
Copy link

There is a bug at the moment, where: you cannot spool an email and authenticate the user in the same response.

The authentication works, but the session disappears for One request, before appearing again. This only happens when the email is actually sent.

This causes the user to appear 'Anonymous' for the next response, which is causing problems, as the application could be expecting the user to be logged in.

This currently prevents spooling emails on any events where the user may also get logged in,

  • password change success
  • email confirmation
  • account created
  • etc

I have created a test bundle using symfony standard and the demo login setup.

https://github.com/carlcraig/symfony-standard/tree/spool-auth

I have also tested this with FOSUserBundle

https://github.com/carlcraig/symfony-standard/tree/fos-userbundle-spool-auth

Has anyone else encountered this problem?

Is there any way to get round this?

@carlcraig
Copy link
Author

@stof
Copy link
Member

stof commented Jun 4, 2013

Duplicate of #6417

@stof stof closed this as completed Jun 4, 2013
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

2 participants