Skip to content

Commit

Permalink
Merge pull request #123 from yanyanho/dev
Browse files Browse the repository at this point in the history
fix the session
  • Loading branch information
yanyanho authored Jan 15, 2024
2 parents 4e7be68 + 3eaae14 commit 5f19e36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ private boolean checkNonce(String message, String nonce ) {

@GetMapping("/logout")
public BaseResponse logout(@RequestParam String address, HttpSession session) {
HttpSessionUtils.clearLogin(session);
HttpSessionUtils.clearLogin(session);
session.invalidate();
return BaseResponse.successWithData(null);
}

Expand Down

0 comments on commit 5f19e36

Please sign in to comment.