Фикс X-Frame-Options

This commit is contained in:
serega6531
2019-05-11 22:51:00 +03:00
parent 1f2869f939
commit a935fca410

View File

@@ -46,7 +46,11 @@ public class ApplicationConfiguration extends WebSecurityConfigurerAdapter imple
.permitAll() .permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()
.and() .and()
.httpBasic(); .httpBasic()
.and()
.headers()
.frameOptions()
.sameOrigin();
} }
@Bean @Bean