Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
mathieu
technobel.sf
Commits
9ab82b97
Commit
9ab82b97
authored
May 25, 2018
by
Mat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tout asso dans une zone restreinte
parent
e0be064c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/config/security.yml
app/config/security.yml
+3
-3
No files found.
app/config/security.yml
View file @
9ab82b97
...
@@ -13,20 +13,20 @@ security:
...
@@ -13,20 +13,20 @@ security:
firewalls
:
firewalls
:
main
:
main
:
pattern
:
^/
pattern
:
^/
anonymous
:
true
form_login
:
form_login
:
provider
:
fos_userbundle
provider
:
fos_userbundle
csrf_token_generator
:
security.csrf.token_manager
# Use form.csrf_provider instead for Symfony <2.4
login_path
:
fos_user_security_login
login_path
:
fos_user_security_login
check_path
:
fos_user_security_check
check_path
:
fos_user_security_check
default_target_path
:
techno_homepage
default_target_path
:
techno_homepage
use_referer
:
true
use_referer
:
true
csrf_token_generator
:
security.csrf.token_manager
# Use form.csrf_provider instead for Symfony <2.4
logout
:
logout
:
path
:
fos_user_security_logout
path
:
fos_user_security_logout
target
:
fos_user_security_login
target
:
fos_user_security_login
anonymous
:
true
access_control
:
access_control
:
-
{
path
:
^/login$
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/login$
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/register
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/register
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/resetting
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/resetting
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/a
dmin
/
,
role
:
ROLE_ADMIN
}
-
{
path
:
^/a
sso
/
,
role
:
ROLE_ADMIN
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment