Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
technobel.sf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mathieu
technobel.sf
Commits
ad84218c
Commit
ad84218c
authored
Jul 03, 2018
by
Mat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
on va refaire le fichier sécurité
parent
16cb07f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
app/config/security.yml
app/config/security.yml
+0
-30
No files found.
app/config/security.yml
View file @
ad84218c
security
:
encoders
:
FOS\UserBundle\Model\UserInterface
:
bcrypt
role_hierarchy
:
ROLE_ADMIN
:
ROLE_USER
ROLE_SUPER_ADMIN
:
ROLE_ADMIN
providers
:
fos_userbundle
:
id
:
fos_user.user_provider.username
firewalls
:
main
:
pattern
:
^/
anonymous
:
true
form_login
:
provider
:
fos_userbundle
login_path
:
fos_user_security_login
check_path
:
fos_user_security_check
default_target_path
:
techno_homepage
use_referer
:
true
csrf_token_generator
:
security.csrf.token_manager
# Use form.csrf_provider instead for Symfony <2.4
logout
:
path
:
fos_user_security_logout
target
:
fos_user_security_login
access_control
:
-
{
path
:
^/login$
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/register
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/resetting
,
role
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
^/asso/
,
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