aboutsummaryrefslogtreecommitdiff
path: root/setter.go
diff options
context:
space:
mode:
authorHank Shen <swh@admpub.com>2023-12-06 06:54:31 +0300
committerHank Shen <swh@admpub.com>2023-12-06 06:54:31 +0300
commitc33b59bcab7ae16914ebeae200a6195204e76b3a (patch)
tree9109c2b0a73820f37e9f4cc7a50bea73d0825d25 /setter.go
parent75a1bf157648c5b5c155ac81e4950bff5315c0ae (diff)
updatev1.2.3
Diffstat (limited to 'setter.go')
-rw-r--r--setter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setter.go b/setter.go
index a82dee9..2ad7052 100644
--- a/setter.go
+++ b/setter.go
@@ -49,7 +49,7 @@ func SetSerializer(codecs []Codec, sz Serializer) {
for _, c := range codecs {
if codec, ok := c.(*SecureCookie); ok {
codec.SetSerializer(sz)
- } else if codec, ok := c.(*UnsafeCodec); ok {
+ } else if codec, ok := c.(*LiteCodec); ok {
codec.SetSerializer(sz)
}
}