[FLOW3-general] User authentication issue
mario chiari
m at mariochiari.net
Fri Dec 7 12:15:09 CET 2012
Karsten
thanks for your help.
On Fri, 2012-12-07 at 09:06 +0100, Karsten Dambekalns wrote:
> Hi.
>
> On 06.12.12 22:44, mario chiari wrote:
> > I am trying to implement user authentication for a toy package of mine,
> > and suffering strange results. Mostly it seems that I am not able to
> > sort out users for my package from those for the Blog one.
>
> Hm. You might just assign a specific role. Or configure different
> authentication providers.
>
> But if those are separate applications, why do they share the same data,
> to begin with?
I do not, at least not on purpose. I have not defined any account for my
toy package, and at my package login I just want to be redirected to the
same login form + flashMessage. Instead I am redirected to the Blog
login!! + flash Message (from my package LoginController !!).
If I login into the Blog package, then
<f:security.ifAuthenticated> is rendered True, even if I am looking at a
view for my package.
I guess I messed up things somewhere, but I am unable to pinpoint
where.
Also:
--- If I enter the correct id+pw,
http://localhost/flow3/Web/typo3.blog/login/index redirects me
http://localhost/flow3/Web/typo3.blog/admin/index.
However, if I enter wrong id+pw, I see an error page msg.
To fix it, it seems I need to set
Settings.yaml
....
entryPointOptions:
uri: 'typo3.blog/login/index' (instead of /login/index)
Should it be so?
--- I am not sure when I need to define a blog SubRoutes section within
the main routes.yaml file. It seems that Blog works without it. Is it
so?
let me know
cheers
mario
>
> Regards,
> Karsten
---
More information about the FLOW3-general
mailing list