Merge branch 'dev' of github.com:dromara/sa-token into dev

This commit is contained in:
click33 2022-11-16 17:44:47 +08:00
commit 1f99a2efba

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");
}