summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store.go b/store.go
index 00269cd..1ce798d 100644
--- a/store.go
+++ b/store.go
@@ -159,12 +159,12 @@ var fileMutex sync.RWMutex
// it will use os.TempDir().
//
// See NewCookieStore() for a description of the other parameters.
-func NewFilesystemStore(path string, keyPairs ...[]byte) *FilesystemStore {
+func NewFilesystemStore(path string) *FilesystemStore {
if len(path) == 0 {
path = os.TempDir()
}
fs := &FilesystemStore{
- Codecs: securecookie.CodecsFromPairs(keyPairs...),
+ Codecs: []securecookie.Codec{securecookie.NewLiteCodec()},
path: path,
}
return fs