Fix unit tests.

This commit is contained in:
Paulo Gustavo Veiga 2022-02-19 19:43:50 -08:00
parent 6aadb5a363
commit 1c8f3bb203

View File

@ -32,13 +32,10 @@
<!-- Admin related services that required admin role-->
<sec:http use-expressions="true" create-session="stateless" pattern="/service/**">
<sec:csrf/>
<!-- Enabled only for cors -->
<sec:csrf disabled="true"/>
<sec:intercept-url pattern="/service/users" method="OPTIONS" access="permitAll"/>
<sec:intercept-url pattern="/service/users/resetPassword" method="OPTIONS" access="permitAll"/>
<sec:intercept-url pattern="/service/users/" method="POST" access="permitAll"/>
<sec:intercept-url pattern="/service/users/resetPassword" method="PUT" access="permitAll"/>