1
1
mirror of https://github.com/usememos/memos.git synced 2024-12-29 06:12:49 +03:00
memos/api/session.go
2021-12-12 14:39:28 +08:00

10 lines
140 B
Go

package api
import (
"memos/utils"
"github.com/gorilla/sessions"
)
var SessionStore = sessions.NewCookieStore([]byte(utils.GenUUID()))