To change default redirect
Previously after logging in we used to get the desired index page, but the address bar still had the "/login" in the address bar, this code fixes that
This commit is contained in:
parent
03a3587560
commit
23124ab6f8
|
@ -28,7 +28,7 @@ public class SecurityConfiguration {
|
||||||
.formLogin()
|
.formLogin()
|
||||||
.loginPage("/login")
|
.loginPage("/login")
|
||||||
.permitAll()
|
.permitAll()
|
||||||
.successForwardUrl("/index")
|
.defaultSuccessUrl("/index")
|
||||||
.and()
|
.and()
|
||||||
.logout()
|
.logout()
|
||||||
.permitAll()
|
.permitAll()
|
||||||
|
|
Loading…
Reference in New Issue