fix: welcome email password (#21732)

This commit is contained in:
Jason Rasmussen
2025-09-10 09:11:42 -04:00
committed by GitHub
parent ee98e69097
commit 39eee6a634
5 changed files with 8 additions and 70 deletions

View File

@@ -38,7 +38,7 @@ export class UserAdminService extends BaseService {
await this.eventRepository.emit('UserSignup', {
notify: !!notify,
id: user.id,
tempPassword: user.shouldChangePassword ? userDto.password : undefined,
password: userDto.password,
});
return mapUserAdmin(user);