Added back in force default login url

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
Andrew DeMaria
2017-01-07 14:35:05 -07:00
parent edc734dc43
commit 6427b0ce59
@@ -83,7 +83,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.and().formLogin()
.loginPage("/login")
.permitAll()
.defaultSuccessUrl("/index.view")
.defaultSuccessUrl("/index.view", true)
.failureUrl("/login?error=1")
.usernameParameter("j_username")
.passwordParameter("j_password")