mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 12:32:09 +08:00
fix: 退出重定向回登录页面问题
This commit is contained in:
@@ -79,6 +79,8 @@ public class LogoutEndpoint {
|
||||
currentUser.getId(),
|
||||
currentUser.getUsername());
|
||||
}
|
||||
return new Message<String>().buildResponse();
|
||||
StringBuffer loginUrl = new StringBuffer(applicationConfig.getServerName()).append(applicationConfig.getFrontendUri()).append("/#/passport/login");
|
||||
return WebContext.redirect(loginUrl.toString());
|
||||
// return new Message<String>().buildResponse();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user