mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(server): Admin user not created (#996)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user