mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 19:47:07 +09:00
Update github.com/lafriks/xormstore and tidy up mod.go (#8020)
This commit is contained in:
1 parent
dd3ba9bb6b
commit
cedb285e25
20 files changed
+286
-165
No files matched your search
-3
@@ -47,9 +47,6 @@ type Store interface {
|
||||
// It is recommended to use an authentication key with 32 or 64 bytes.
|
||||
// The encryption key, if set, must be either 16, 24, or 32 bytes to select
|
||||
// AES-128, AES-192, or AES-256 modes.
|
||||
//
|
||||
// Use the convenience function securecookie.GenerateRandomKey() to create
|
||||
// strong keys.
|
||||
func NewCookieStore(keyPairs ...[]byte) *CookieStore {
|
||||
cs := &CookieStore{
|
||||
Codecs: securecookie.CodecsFromPairs(keyPairs...),
|
||||
|
||||
Reference in new issue
Block a user