diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/config/routing.yml | 5 | ||||
-rw-r--r-- | app/config/security.yml | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml index 426dcdcf..20f6979a 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml | |||
@@ -18,11 +18,6 @@ login_check: | |||
18 | logout: | 18 | logout: |
19 | path: /logout | 19 | path: /logout |
20 | 20 | ||
21 | #wallabag_api: | ||
22 | # resource: "@WallabagApiBundle/Controller/" | ||
23 | # type: annotation | ||
24 | # prefix: /api | ||
25 | |||
26 | rest : | 21 | rest : |
27 | type : rest | 22 | type : rest |
28 | resource : "routing_rest.yml" | 23 | resource : "routing_rest.yml" |
diff --git a/app/config/security.yml b/app/config/security.yml index 4a798e56..e06c8967 100644 --- a/app/config/security.yml +++ b/app/config/security.yml | |||
@@ -56,6 +56,7 @@ security: | |||
56 | target: / | 56 | target: / |
57 | 57 | ||
58 | access_control: | 58 | access_control: |
59 | - { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY } | ||
59 | - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 60 | - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
60 | - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 61 | - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
61 | - { path: ^/, roles: ROLE_USER } | 62 | - { path: ^/, roles: ROLE_USER } |