Skip to content

Commit

Permalink
157628- template for mobile added
Browse files Browse the repository at this point in the history
  • Loading branch information
yashveertrigyn committed May 24, 2024
1 parent 339b66f commit 9e01334
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class AnonymousDeleteAccountComponent implements OnInit, OnDestroy {
telemetryInteractObject: IInteractEventObject;
verifiedUser = false;
templateId: any = 'deleteUserAccountTemplate';
templateIdMobile: any = 'otpContactUpdateTemplate';
templateIdMobile: any = '1307171619784284292';

constructor(public resourceService: ResourceService,
public otpService: OtpService, public toasterService: ToasterService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export class OtpPopupComponent implements OnInit, OnDestroy {
cancelInteractEdata: IInteractEventEdata;
submitUserDeleteInteractEdata:IInteractEventEdata;
remainingAttempt: 'string';
templateId: any = 'deleteUserAccountTemplate';
templateIdMobile: any = '1307171619784284292';
constructor(public resourceService: ResourceService, public tenantService: TenantService,
public deviceDetectorService: DeviceDetectorService, public otpService: OtpService, public userService: UserService,
public utilService: UtilService, public configService: ConfigService,
Expand Down Expand Up @@ -146,7 +148,7 @@ export class OtpPopupComponent implements OnInit, OnDestroy {
'type': this.otpData.type,
...( this.otpData.value && this.otpData.value.match(/(([a-z]|[A-Z])+[*]{1,}([a-z]*[A-Z]*[0-9]*)*@)|([*]{1,})+/g) &&
{ userId: this.userService.userid,
templateId:this.deleteUser ? this.configService.appConfig.OTPTemplate.userDeleteTemplate : this.configService.appConfig.OTPTemplate.updateContactTemplate,
templateId:this.deleteUser ? ((this.otpData.type == 'email' || this.otpData.type == 'recoveryEmail' ) ? this.configService.appConfig.OTPTemplate.userDeleteTemplate : this.templateIdMobile ) : this.configService.appConfig.OTPTemplate.updateContactTemplate
})
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class DeleteAccountComponent implements OnInit, OnDestroy {
telemetryInteractObject: IInteractEventObject;
verifiedUser = false;
templateId: any = 'deleteUserAccountTemplate';
templateIdMobile: any = 'otpContactUpdateTemplate';
templateIdMobile: any = '1307171619784284292';

constructor(
public resourceService: ResourceService,
Expand Down

0 comments on commit 9e01334

Please sign in to comment.