aboutsummaryrefslogtreecommitdiff
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/user.zig2
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,