Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 01f6fb0f authored by Darrel Danadyaksa Poli's avatar Darrel Danadyaksa Poli
Browse files

[REFACTOR] Fix indentation issue in AuthenticationControllerTest for improved readability

parent 9209188d
No related branches found
No related tags found
1 merge request!1Login registration
...@@ -51,8 +51,7 @@ class AuthenticationControllerTest { ...@@ -51,8 +51,7 @@ class AuthenticationControllerTest {
static class TestSecurityConfig { static class TestSecurityConfig {
@Bean @Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http.csrf(csrf -> csrf.disable()); http.authorizeHttpRequests(authorize -> authorize.anyRequest().permitAll());
.authorizeHttpRequests(authorize -> authorize.anyRequest().permitAll());
return http.build(); return http.build();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment