fix default authorization page

This commit is contained in:
Main
2016-02-16 23:24:09 +03:00
parent 655f86071c
commit 1e2e564c29

View File

@@ -47,6 +47,7 @@ public class AuthConfiguration extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.csrf().disable()
.formLogin().loginPage("/index.html").failureUrl("/index.html").and()
.authorizeRequests()
.antMatchers("/index.html").permitAll()
.antMatchers("/health").permitAll()