Securing the profile edition route for api.

This commit is contained in:
Florian
2018-06-07 21:11:20 +02:00
parent 8a10fa0451
commit 6619d16713

View File

@@ -33,7 +33,8 @@ public class AuthenticationFilter extends AbstractFilter {
new Route("\\/api\\/posts\\/myPosts"), new Route("\\/api\\/posts\\/myPosts"),
new Route("\\/api\\/posts\\/preview"), new Route("\\/api\\/posts\\/preview"),
new Route("\\/api\\/posts\\/", HttpMethod.POST, HttpMethod.PUT, HttpMethod.DELETE), new Route("\\/api\\/posts\\/", HttpMethod.POST, HttpMethod.PUT, HttpMethod.DELETE),
new Route("\\/api\\/account/changePassword") new Route("\\/api\\/account\\/changePassword"),
new Route("\\/api\\/account\\/", HttpMethod.PUT)
); );
} }