mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
getSalt method
This commit is contained in:
parent
7ffb1e80bf
commit
c5e8ba25bb
3 changed files with 26 additions and 7 deletions
|
@ -18,11 +18,6 @@ login_check:
|
|||
logout:
|
||||
path: /logout
|
||||
|
||||
#wallabag_api:
|
||||
# resource: "@WallabagApiBundle/Controller/"
|
||||
# type: annotation
|
||||
# prefix: /api
|
||||
|
||||
rest :
|
||||
type : rest
|
||||
resource : "routing_rest.yml"
|
||||
|
|
|
@ -56,6 +56,7 @@ security:
|
|||
target: /
|
||||
|
||||
access_control:
|
||||
- { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/, roles: ROLE_USER }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue