Redirect to user center after authenticating successfully (#6797)

#### What type of PR is this?

/kind cleanup
/area core
/milestone 2.20.x

#### What this PR does / why we need it:

This PR changes the redirect URI to `/uc` instead of `/console` after authenticating successfully.

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/6800/head
John Niang 2024-10-08 22:10:54 +08:00 committed by GitHub
parent c82b65be99
commit e667719dd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class UsernamePasswordHandler implements ServerAuthenticationSuccessHandl
private RememberMeRequestCache rememberMeRequestCache = new WebSessionRememberMeRequestCache();
private final ServerAuthenticationSuccessHandler defaultSuccessHandler =
new RedirectServerAuthenticationSuccessHandler("/console/");
new RedirectServerAuthenticationSuccessHandler("/uc");
public UsernamePasswordHandler(ServerResponse.Context context, MessageSource messageSource,
LoginHandlerEnhancer loginHandlerEnhancer) {