summaryrefslogtreecommitdiff
path: root/pkg/web
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/web')
-rw-r--r--pkg/web/cookie.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/web/cookie.go b/pkg/web/cookie.go
index bb91c2b..d8ba658 100644
--- a/pkg/web/cookie.go
+++ b/pkg/web/cookie.go
@@ -34,7 +34,7 @@ func NewCookie(name, value string, options ...x.Option[*http.Cookie]) *http.Cook
func withSignedValue(value string) x.Option[*http.Cookie] {
signature, err := Signer.Sign([]byte(value))
if err != nil {
- return nil
+ return cookie.WithValue(value)
}
return cookie.WithValue(fmt.Sprintf(
"%v%v%v",