Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$URLSegment or $ClassName not working on the Security/login #80

Open
msapalas opened this issue Dec 22, 2020 · 2 comments
Open

$URLSegment or $ClassName not working on the Security/login #80

msapalas opened this issue Dec 22, 2020 · 2 comments

Comments

@msapalas
Copy link

Common template variables like $URLSegment or $ClassName are empty on the /Security/login page.

@michalkleiner
Copy link
Contributor

My (of the top of my head) guess is that the controller doesn't extend ContentController. There might be a reason for that though. What are you trying to achieve?

@msapalas
Copy link
Author

I'm trying to check if visitor is on the security page and display different layout depending on that.

Anyway I've removed login-forms and it seems at least I can get functions from the page controller and login stuff is working - not sure why we need than a login-forms as separate module 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants