Skip to content

Commit

Permalink
Redirect to user center after authenticating successfully (#6797)
Browse files Browse the repository at this point in the history
#### 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
```
  • Loading branch information
JohnNiang authored Oct 8, 2024
1 parent c82b65b commit e667719
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e667719

Please sign in to comment.