mirror of https://github.com/halo-dev/halo
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
parent
c82b65be99
commit
e667719dd7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue