1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix(server): Admin user not created (#996)

This commit is contained in:
Alex 2022-11-20 23:25:03 -06:00 committed by GitHub
parent 88b8d34aa6
commit a2f3b2199a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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