Securing the profile edition route for api.

This commit is contained in:
Florian committed 2018-06-07 21:11:20 +02:00
1 parent 8a10fa0451
commit 6619d16713
1 file changed
+2 -1
@@ -33,7 +33,8 @@ public class AuthenticationFilter extends AbstractFilter {
new Route("\\/api\\/posts\\/myPosts"),
new Route("\\/api\\/posts\\/preview"),
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)
);
}