This commit is contained in:
wangliwen 2022-06-02 17:09:12 +08:00
parent 54b395580b
commit 70af116d5f
1 changed files with 2 additions and 2 deletions

View File

@ -115,14 +115,14 @@ public class Oauth2Filter extends AuthenticatingFilter {
boolean success = executeLogin(request, response);
return success;
} else {
send401Error((HttpServletResponse) response, "未找到用户");
send401Error((HttpServletResponse) response, "not found user");
return false;
}
}
}
send401Error((HttpServletResponse) response, "登录失败");
send401Error((HttpServletResponse) response, "login fail");
return false;
}