summaryrefslogtreecommitdiff
path: root/setter.go
diff options
context:
space:
mode:
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)
}
}