blob: 7dfa491eef4ddb17a1c3eef0d997e79885334271 (
plain)
1
2
3
4
5
6
7
8
|
const Context = @import("../../context.zig");
pub const access = .users;
pub fn get(ctx: *Context) !void {
const new = try ctx.storage.sessions.renew(ctx.storage, ctx.fingerprint);
ctx.response.headers.fingerprint = new.fingerprint;
}
|