diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-10 08:35:43 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-10 08:35:43 +0100 |
commit | c5e8ba25bb0d6d59b3275480f406b5ce3fa83b75 (patch) | |
tree | 9dc8ec3e6e68547287e1a69a1939530fb78927f8 /app | |
parent | 7ffb1e80bff2c54fe3fe4343484d377eda660c3f (diff) | |
download | wallabag-c5e8ba25bb0d6d59b3275480f406b5ce3fa83b75.tar.gz wallabag-c5e8ba25bb0d6d59b3275480f406b5ce3fa83b75.tar.zst wallabag-c5e8ba25bb0d6d59b3275480f406b5ce3fa83b75.zip |
getSalt method
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 } |