私信发送成功
检测到您已登录开源中国,是否 一键登录码云
Watch Star Fork

ThinkGem / JeeSiteJavaApache-2.0GVP

thinkgem 提交于   master
commit 1cf2650c2e6bd0db4c2fc58c55c08fddeb780bcf
1 parent 604d091819
@@ -48,7 +48,7 @@ public class FormAuthenticationFilter extends org.apache.shiro.web.filter.authc.
/**
* 获取登录用户名
*/
- protected String getUsername(ServletRequest request, ServletResponse response) {
+ protected String getUsername(ServletRequest request) {
String username = super.getUsername(request);
if (StringUtils.isBlank(username)){
username = StringUtils.toString(request.getAttribute(getUsernameParam()), StringUtils.EMPTY);

登录 后才可以发表评论