aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-11-25 08:55:27 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-11-25 08:55:27 +0100
commit742bc755eb1ead278d1ee75dbd0d7ae03a3d29f1 (patch)
tree4d0646f3cef8527c1026e88882696f658882843e /src
parentf3756dac8a49f3b5599fd50f4c631da4168e9eb0 (diff)
add secure tag to fingerprint cookie
Diffstat (limited to 'src')
-rw-r--r--src/routes/handler-info.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/handler-info.zig b/src/routes/handler-info.zig
index 9e10bd5..95720b9 100644
--- a/src/routes/handler-info.zig
+++ b/src/routes/handler-info.zig
@@ -130,7 +130,7 @@ pub fn handle(
if (context.response.headers.fingerprint) |auth_token| {
var value = std.Io.Writer.Allocating.init(arena.allocator());
- try value.writer.print("fingerprint={s}; Path=/", .{auth_token});
+ try value.writer.print("fingerprint={s}; Secure; Path=/", .{auth_token});
try headers.append(allocator, .{
.name = "Set-Cookie",