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

Dev server only: can not sign in #1003

Open
spacemansteve opened this issue Oct 5, 2015 · 4 comments
Open

Dev server only: can not sign in #1003

spacemansteve opened this issue Oct 5, 2015 · 4 comments

Comments

@spacemansteve
Copy link
Contributor

Logging in to the dev server when using the correct username and password does not work. The username is set to "none" and on the next page load the user is logged out.
jdadevserverloginproblem

@horak
Copy link
Contributor

horak commented Oct 5, 2015

Just tested and also seeing this happen.

@spacemansteve
Copy link
Contributor Author

It started working while I was investigating. I didn't change anything. It also started working for Rebecca which is interesting since on dev we're running different code bases from /var/www/username.

I believe authentication uses code from FriendsofSymfony (FOS), which builds on Symfony.

@spacemansteve
Copy link
Contributor Author

in src/Zeega/UserBundle/Controller/SecurityController.php:
$user = $this->container->get('security.context')->getToken()->getUser();
but $user is set to 'anon'

@horak
Copy link
Contributor

horak commented Oct 12, 2015

well that's no good. @jcuanm, do you think you could try fixing this?

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