customer creation now pointing to velocity
This commit is contained in:
@@ -150,8 +150,8 @@ public class RegistrationWorkflow extends WorkflowDefinition {
|
||||
public void resendOtp(StateExecution execution) {
|
||||
OtpRequest otpRequest = execution.getVariable("resend", OtpRequest.class);
|
||||
Otp otp = otpService.generateOtp(otpRequest.getUsername(), "REGISTRATION");
|
||||
String string = String.format("Your Peak verification code is: %s", otp.getOtp());
|
||||
emailService.sendSimpleMessage(otpRequest.getUsername(), "Peak verification code", string);
|
||||
String string = String.format("Your Velocity Pay verification code is: %s", otp.getOtp());
|
||||
emailService.sendSimpleMessage(otpRequest.getUsername(), "Velocity Pay verification code", string);
|
||||
|
||||
log.info("otp generated successfully: {}", otp.getOtp());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user