Hi!

I chave got a problem with credentials. In my action I add a
credential "beadmin"

...
$this->getUser()->setAuthenticated(true);
$this->getUser()->addCredential("beadmin");
...

If I open the session file with a textedit I see the credential stored
in the session.

But My user doesn't have it.

In my template I out put

...
var_dump($sf_user->hasCredential("beadmin") );
var_dump($sf_user->isAuthenticated() );
...

and it says:
...
bool(false)
bool(true)
...


Any ideas?

regards,

michael

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to