Merge pull request #14948 from SamsterZero/patch-1

To change default redirect
This commit is contained in:
Loredana Crusoveanu 2023-11-09 14:19:18 +02:00 committed by GitHub
commit 925eb644ea
1 changed files with 1 additions and 1 deletions

View File

@ -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()