Merge pull request #332 from gongjixiaobai/patch-1

Update sso-home-jump.md
This commit is contained in:
click33 2022-11-09 10:33:36 +08:00 committed by GitHub
commit 5de3060efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ public class HomeController {
@RequestMapping("/home")
public Object index() {
// 如果未登录,则先去登录
if(StpUtil.isLogin()) {
if(!StpUtil.isLogin()) {
return SaHolder.getResponse().redirect("/sso/auth");
}