High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): Admin user not created (#996)
Alexa2f3b2199abd
diff --git a/server/apps/immich/src/api-v1/user/user-repository.ts b/server/apps/immich/src/api-v1/user/user-repository.tsindex 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);}