[Neos] How to integrate a custom login form in Neos site layout

Pavlina Drosos pavlinadrosos at gmail.com
Fri Feb 7 11:11:07 CET 2014

Hi Bastian,

Thanks a lot for your demo! It helped me to setup my own log-in page and
profile page, now they work and the Neos admin also works. I have fixed the
problem with the logout button (in Privacy.yaml) and I could make a pull
request to your repo with the fix if you don't mind.

But now I have another big issue. By design my login form must be in the
layout of the site, visible from all pages. So I created the plugin with
the login form via TypoScript and rendered it in the layout. But when I
login via this form, after the login I am not redirected to the profile
page, but the profile page is rendered inside the current page, from where
I log-in and it looks crazy. When the login form plugin is added on
separate page, like in your demo, it works as expected and redirects to the
profile page. Could you please help me with this and give me a hint how to
solve it? it's a common case, the login form to be in the layout, so it
will be useful for other people too.

My other question is how to make the profile page to redirect to the login
page, when it's opened by unauthenticated user? I have setup the TypoScript
exceptionHandler to ThrowingHandler inside my package, but I am unaware how
to do the redirect after that.

Thank you in advance!

Best Regards,

On Wed, Feb 5, 2014 at 3:51 PM, Bastian Waidelich <bastian at typo3.org> wrote:

> Pavlina Drosos wrote:
> Hi Pavlina,
>  But now I have another issue. I have added security settings in the
>> Settings.yaml of my FrontendUser package and some rules inside the
>> Policy.yaml of the package. And now the Neos admin doesn't work. [...]
> I played around with the "frontend login" issue today and created a (very
> basic) package to test this.
> It still has some issues, but maybe it will be helpful for you:
> https://github.com/bwaidelich/Wwwision.Neos.FrontendLogin
> --
> Bastian Waidelich
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos

More information about the Neos mailing list