Skip to content

Commit

Permalink
fix: enable cookie post
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Apr 30, 2024
1 parent 833fdf1 commit b08d0b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/internal/handlers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ func (h *Handler) HandleLogin(w http.ResponseWriter, r *http.Request) {
Name: "X-Auth-Token",
Value: tokenString,
Expires: time.Now().Add(24 * time.Hour),
HttpOnly: true,
Secure: true, // Set this to true if using HTTPS
SameSite: http.SameSiteNoneMode, // Set this to true if using HTTPS
Domain: domain, // Adjust to your domain
Expand Down

0 comments on commit b08d0b9

Please sign in to comment.