Skip to content

Commit

Permalink
fix login error
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosfu committed Jun 18, 2016
1 parent f97de73 commit a7a7ac6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static boolean passportCheck(String username, String password) {
return true;
}
} catch (Exception e) {
logger.error("passportCheck: " + e.getMessage(), e);
logger.error("username {} passportCheck: " + e.getMessage(), username, e);
} finally {
if (ctx != null) {
try {
Expand All @@ -55,6 +55,6 @@ public static boolean passportCheck(String username, String password) {
}
}
}
return true;
return false;
}
}

0 comments on commit a7a7ac6

Please sign in to comment.