Add support for SameSite cookie attribute
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index ea85e28..a77c730 100644 (file)
@@ -202,6 +202,7 @@ sub finalize_cookies {
                 -path    => $val->{path},
                 -secure  => $val->{secure} || 0,
                 -httponly => $val->{httponly} || 0,
+                -samesite => $val->{samesite},
             )
         );
         if (!defined $cookie) {