fixed format

This commit is contained in:
Mathieu Fortin 2020-03-03 17:28:47 -05:00
parent 77be697980
commit 812f540386
1 changed files with 6 additions and 3 deletions

View File

@ -16,9 +16,12 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
protected void configure(final HttpSecurity http) throws Exception {
http.csrf()
.disable()
.authorizeRequests().anyRequest().authenticated()
.authorizeRequests()
.anyRequest()
.authenticated()
.and()
.formLogin().permitAll();
.formLogin()
.permitAll();
}
@Bean