Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieYu4994 committed Jul 21, 2021
1 parent c6bf2d9 commit a3954fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (h *handler) add(w http.ResponseWriter, r *http.Request) {
http.SetCookie(w, &http.Cookie{
Name: "token_" + key,
SameSite: http.SameSiteNoneMode,
Secure: true,
Value: key,
MaxAge: exp * 60,
})
Expand Down

0 comments on commit a3954fe

Please sign in to comment.