From a2f3b2199abd005b59f9f1fc8a1824ef64017c37 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 20 Nov 2022 23:25:03 -0600 Subject: [PATCH] fix(server): Admin user not created (#996) --- server/apps/immich/src/api-v1/user/user-repository.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/server/apps/immich/src/api-v1/user/user-repository.ts b/server/apps/immich/src/api-v1/user/user-repository.ts index 788b37db0c..e9bccf1e79 100644 --- a/server/apps/immich/src/api-v1/user/user-repository.ts +++ b/server/apps/immich/src/api-v1/user/user-repository.ts @@ -59,7 +59,6 @@ export class UserRepository implements IUserRepository { user.salt = await bcrypt.genSalt(); user.password = await this.hashPassword(user.password, user.salt); } - user.isAdmin = false; return this.userRepository.save(user); }