File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,10 @@ export class PasswdService extends AbstractService {
8282 this . logger . log ( 'Reset password asked by mail for : ' + initDto . uid ) ;
8383 const smtpParams = await this . mailadmService . getParams ( ) ;
8484 if ( mailAttribute !== '' ) {
85+ // this.mailer.addTransporter('lastStmp', smtpParams.host)
8586 this . mailer
8687 . sendMail ( {
88+ // transporterName: 'lastStmp',
8789 from : smtpParams . sender ,
8890 to : mail ,
8991 subject : 'Reinitialisation de votre mot de passe' ,
@@ -414,7 +416,7 @@ export class PasswdService extends AbstractService {
414416
415417 //Envoi le message d init à plusieurs identités
416418 public async initMany ( ids : InitManyDto ) : Promise < any > {
417- const identities = await this . identities . find ( { _id : { $in : ids . ids } , state : IdentityState . SYNCED } ) ;
419+ const identities = await this . identities . find ( { _id : { $in : ids . ids } } ) ;
418420 if ( identities . length === 0 ) {
419421 throw new HttpException ( 'Aucune identité trouvée.' , 404 ) ;
420422 }
You can’t perform that action at this time.
0 commit comments