mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03:00
chore: remove secure flag (#848)
This commit is contained in:
parent
fae9b3db46
commit
27fd1e2880
@ -27,7 +27,6 @@ func setUserSession(ctx echo.Context, user *api.User) error {
|
||||
Path: "/",
|
||||
MaxAge: 3600 * 24 * 30,
|
||||
HttpOnly: true,
|
||||
Secure: true,
|
||||
}
|
||||
sess.Values[userIDContextKey] = user.ID
|
||||
err := sess.Save(ctx.Request(), ctx.Response())
|
||||
|
Loading…
Reference in New Issue
Block a user