Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
solve http login issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghuanglin committed Sep 26, 2023
1 parent ae7887a commit 07cbf8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ func (s *Server) initHTTPServer() error {
engine := gin.New()
authStore := cookie.NewStore([]byte("frpc-panel"))
authStore.Options(sessions.Options{
Secure: true,
Secure: false,
HttpOnly: false,
SameSite: 4,
SameSite: http.SameSiteDefaultMode,
Path: "/",
MaxAge: s.cfg.CommonInfo.AdminKeepTime,
})
Expand Down

0 comments on commit 07cbf8d

Please # to comment.