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); }