My Symfony Notepad
Wednesday, February 9, 2011
Modules requires a login
A page can be accessed publicly or privately. If the created module needs to be public, we have to do some modifications on the config:
I have added security.yml (/app/frontend/modules/<module-name>config/security.yml) with this content:
all: is_secure: true
When someone attempts to access the page, he will receive an alert that he needs to login first.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment