From 4b6e37397d3a9a80db0c20484b712175c7b9c9c7 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 24 Nov 2025 15:55:20 +0100 Subject: add password-dialog --- src/storage/user.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage') diff --git a/src/storage/user.zig b/src/storage/user.zig index 86d82ff..b817f84 100644 --- a/src/storage/user.zig +++ b/src/storage/user.zig @@ -125,7 +125,7 @@ pub fn new( } pub fn set_password(self: *Self, password: []const u8) !void { - const allocator = self.area.allocator(); + const allocator = self.arena.allocator(); const hash_buf = try allocator.alloc(u8, 256); const hash = try std.crypto.pwhash.bcrypt.strHash( password, -- cgit v1.2.3-70-g09d2