Unverified Commit 27fd1e28 authored by boojack's avatar boojack Committed by GitHub

chore: remove secure flag (#848)

parent fae9b3db
...@@ -27,7 +27,6 @@ func setUserSession(ctx echo.Context, user *api.User) error { ...@@ -27,7 +27,6 @@ func setUserSession(ctx echo.Context, user *api.User) error {
Path: "/", Path: "/",
MaxAge: 3600 * 24 * 30, MaxAge: 3600 * 24 * 30,
HttpOnly: true, HttpOnly: true,
Secure: true,
} }
sess.Values[userIDContextKey] = user.ID sess.Values[userIDContextKey] = user.ID
err := sess.Save(ctx.Request(), ctx.Response()) err := sess.Save(ctx.Request(), ctx.Response())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment