...
This commit is contained in:
parent
54b395580b
commit
70af116d5f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue