...
This commit is contained in:
parent
54b395580b
commit
70af116d5f
|
@ -115,14 +115,14 @@ public class Oauth2Filter extends AuthenticatingFilter {
|
||||||
boolean success = executeLogin(request, response);
|
boolean success = executeLogin(request, response);
|
||||||
return success;
|
return success;
|
||||||
} else {
|
} else {
|
||||||
send401Error((HttpServletResponse) response, "未找到用户");
|
send401Error((HttpServletResponse) response, "not found user");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
send401Error((HttpServletResponse) response, "登录失败");
|
send401Error((HttpServletResponse) response, "login fail");
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue