In my project, I allow only one user to manage the content of the website. This user will be added using the command line at first.
Now, I want to get the registration a
If you use the JMSSecurityExtraBundle you can use the denyAll directive like so:
denyAll
- { path: ^/register, access: denyAll }