diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-24 15:55:20 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-11-24 15:55:20 +0100 |
| commit | 4b6e37397d3a9a80db0c20484b712175c7b9c9c7 (patch) | |
| tree | a741d76d250b7e7a53f3ab6715106463db32215e /src/storage | |
| parent | a72a9c6fa8aacbd9e945fdce64bdaf7895425e95 (diff) | |
add password-dialog
Diffstat (limited to 'src/storage')
| -rw-r--r-- | src/storage/user.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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, |