Skip to content

Commit

Permalink
fix the session
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Jan 15, 2024
1 parent 4e7be68 commit 3eaae14
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 3eaae14

Please sign in to comment.