Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
think-gem committed Jan 3, 2017
1 parent 604d091 commit 1cf2650
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected AuthenticationToken createToken(ServletRequest request, ServletRespons
/**
* 获取登录用户名
*/
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);
Expand Down

0 comments on commit 1cf2650

Please sign in to comment.