Skip to content

Commit ce550ca

Browse files
committed
fixed ws not working on safari
1 parent 6e87867 commit ce550ca

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/auth/service.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ func (s *Service) callback(w http.ResponseWriter, r *http.Request) {
176176
Expires: newToken.ExpiresAt,
177177
Secure: true,
178178
Path: "/",
179-
HttpOnly: true,
180179
SameSite: http.SameSiteStrictMode,
181180
}
182181

@@ -355,7 +354,6 @@ func (s *Service) logout(w http.ResponseWriter, r *http.Request) {
355354
Name: cookieName,
356355
Secure: true,
357356
Path: "/",
358-
HttpOnly: true,
359357
SameSite: http.SameSiteStrictMode,
360358
}
361359

0 commit comments

Comments
 (0)