diff --git a/src/models/actions/create/CreateUser.ts b/src/models/actions/create/CreateUser.ts index 422664d..11b80b2 100644 --- a/src/models/actions/create/CreateUser.ts +++ b/src/models/actions/create/CreateUser.ts @@ -109,7 +109,7 @@ export class CreateUser { newUser.lastname = this.lastname newUser.uuid = crypto.randomUUID() newUser.phone = this.phone - newUser.password = Bun.password.hash(this.password + newUser.uuid); + newUser.password = await Bun.password.hash(this.password + newUser.uuid); newUser.groups = await this.getGroups(); newUser.enabled = this.enabled;