From 742bc755eb1ead278d1ee75dbd0d7ae03a3d29f1 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 25 Nov 2025 08:55:27 +0100 Subject: add secure tag to fingerprint cookie --- src/routes/handler-info.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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", -- cgit v1.2.3-70-g09d2