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()
|
||||
.loginPage("/login")
|
||||
.permitAll()
|
||||
.successForwardUrl("/index")
|
||||
.defaultSuccessUrl("/index")
|
||||
.and()
|
||||
.logout()
|
||||
.permitAll()
|
||||
|
|
Loading…
Reference in New Issue