Le 09/02/2011 17:57, Ryan Walker a écrit :
I am searching for a solution to an authentication problem and I see
that Serg had the same problem (#2 below) way back in May of last year
before I was on this list. As far as I can tell, no solution was
posted to list.
In my development environment on Mac OS X, sfDoctrineGuardPlugin is
working properly. When I attempt to access a secure page, I get
redirected to login. When I enter valid credentials, I get redirected
back to the initially requested page.
In my test environment at DreamHost, it is not working properly. When
I attempt to access a secure page, I get redirected to login. When I
enter valid credentials, I get redirected back to the initially
requested page, but symfony loses my authentication status and
(re-)redirects me back to login once again with the form emptied. (In
contrast, if I enter invalid credentials, then I receive an error
message on the login page and the username remains filled in.)
In each environment, symfony does verify my credentials are valid and
that I have 'admin' privileges, but test forgets those credentials as
soon as it redirects me back to my requested page.
Nothing interesting shows up in the apache error log.
This seems to be an issue with the session on your server. If the
session variable are not stored, the authentication status cannot be saved.
You should ask the Dreamhost support to know why session variables does
not work.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en