mirror of
https://github.com/yhl452493373/frps-panel.git
synced 2026-04-04 14:27:00 +08:00
solve http login issue
This commit is contained in:
@@ -175,9 +175,9 @@ func (s *Server) initHTTPServer() error {
|
||||
engine := gin.New()
|
||||
authStore := cookie.NewStore([]byte("frps-panel"))
|
||||
authStore.Options(sessions.Options{
|
||||
Secure: true,
|
||||
Secure: false,
|
||||
HttpOnly: false,
|
||||
SameSite: 4,
|
||||
SameSite: http.SameSiteDefaultMode,
|
||||
Path: "/",
|
||||
MaxAge: s.cfg.CommonInfo.AdminKeepTime,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user