Hi
In my setting.yml I have this:

all:
  is_secure:  on
  credentials:  subscriber



In my action file I put the following lines at the beginning:

    $user = $this->getUser();
    $user->setAuthenticated(true);
    $user->addCredential('subscriber');



But the "login restricted" page is shown.
Am I missing something?

cheers,
--Mohammad
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to