mirror of
https://github.com/usememos/memos.git
synced 2025-10-10 14:25:54 +08:00
chore: remove secure flag (#848)
This commit is contained in:
parent
fae9b3db46
commit
27fd1e2880
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue