diff options
Diffstat (limited to 'setter.go')
-rw-r--r-- | setter.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ 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 { + codec.SetSerializer(sz) } } } |