Update WebSecurityConfig.java

This commit is contained in:
Rufina Uche 2023-10-21 19:17:05 +01:00 committed by GitHub
parent b17ab69f4d
commit 643da80391
1 changed files with 6 additions and 6 deletions

View File

@ -25,11 +25,11 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests()
.antMatchers("/")
.permitAll()
.anyRequest()
.authenticated()
.and()
.formLogin();
.antMatchers("/")
.permitAll()
.anyRequest()
.authenticated()
.and()
.formLogin();
}
}