On Mar 6, 2:04 am, Sid Bachtiar <sid.bacht...@gmail.com> wrote:
> No, AFAIK there isn't default login form. You need sfGuardPlugin or
> build your own.
>
Where does the login form go? Symfony redirects me to this URL:
frontend_dev.php/symfony/login
But where is the module called "symfony"?
Symfony is redirecting me from this URL:
frontend_dev.php/newnews/edit
I don't want people to reach that URL unless they are logged in. So
symfony is correctly keeping out of that URL. But it redirects me to
an unknown module.
I created a loginSuccess.php template and put in the newnews module,
but that had no effect.
>
> On Fri, Mar 6, 2009 at 7:59 PM, Lawrence Krubner <lkrub...@geocities.com>
> wrote:
>
> > Check out this screenshot:
>
> >http://lawrence.sds5.com/no_login.gif
>
> > I find this odd. I've got a module I want to lock down to people who
> > are logged in. I've got this in the module's config/security.yml:
>
> > read:
> > is_secure: on
>
> > update:
> > is_secure: on
>
> > delete:
> > is_secure: on
>
> > edit:
> > is_secure: on
>
> > all:
> > is_secure: off
>
> > I've got this in the apps settings.yml:
>
> > all:
> > .actions:
> > error_404_module: default # To be called when a 404 error
> > is raised
> > error_404_action: error404 # Or when the requested URL
> > doesn't match any route
>
> > login_module: default # To be called when a non-
> > authenticated user
> > login_action: login # Tries to access a secure page
>
> > secure_module: default # To be called when a user
> > doesn't have
> > secure_action: secure # The credentials required for
> > an action
>
> > If I go to the module, I'm told the page is not public. This is
> > expected behavior. I then click on the link "Proceed to login". What I
> > get is what you see in the screenshot. It continues to tell me that
> > the page is not public. Shouldn't it offer me a login form? I thought
> > there was a default login form built into the default module?
>
> --
> Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---