mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Remove unwanted lines
This commit is contained in:
parent
184716b17a
commit
0712cd744a
@ -85,10 +85,10 @@ public class OTPManagementServiceImpl implements OTPManagementService {
|
||||
try {
|
||||
ConnectionManagerUtil.beginDBTransaction();
|
||||
this.otpManagementDAO.addOTPData(Collections.singletonList(oneTimePinDTO));
|
||||
Properties props = new Properties();
|
||||
props.setProperty("first-name", tenant.getAdminFirstName());
|
||||
props.setProperty("otp-token", oneTimePinDTO.getOtpToken());
|
||||
sendMail(props, tenant.getEmail(), DeviceManagementConstants.EmailAttributes.USER_VERIFY_TEMPLATE);
|
||||
// Properties props = new Properties();
|
||||
// props.setProperty("first-name", tenant.getAdminFirstName());
|
||||
// props.setProperty("otp-token", oneTimePinDTO.getOtpToken());
|
||||
// sendMail(props, tenant.getEmail(), DeviceManagementConstants.EmailAttributes.USER_VERIFY_TEMPLATE);
|
||||
ConnectionManagerUtil.commitDBTransaction();
|
||||
return oneTimePinDTO.getOtpToken();
|
||||
} catch (TransactionManagementException e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user