Update WebSecurityConfig.java
This commit is contained in:
		
							parent
							
								
									b17ab69f4d
								
							
						
					
					
						commit
						643da80391
					
				| @ -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(); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user