aboutsummaryrefslogtreecommitdiff
path: root/setter.go
diff options
context:
space:
mode:
authorHank Shen <swh@admpub.com>2023-12-06 07:34:46 +0300
committerHank Shen <swh@admpub.com>2023-12-06 07:34:46 +0300
commit53756c3ef985f8b24346d829c673156861066871 (patch)
tree766ba6e643e5e21058b3f942c0c9eb014dfe10f1 /setter.go
parentc33b59bcab7ae16914ebeae200a6195204e76b3a (diff)
Diffstat (limited to 'setter.go')
-rw-r--r--setter.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/setter.go b/setter.go
index 2ad7052..cb56171 100644
--- a/setter.go
+++ b/setter.go
@@ -49,8 +49,6 @@ func SetSerializer(codecs []Codec, sz Serializer) {
for _, c := range codecs {
if codec, ok := c.(*SecureCookie); ok {
codec.SetSerializer(sz)
- } else if codec, ok := c.(*LiteCodec); ok {
- codec.SetSerializer(sz)
}
}
}