mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
remove unncessary code and confidential data
This commit is contained in:
@@ -2,17 +2,11 @@ async function sendMailOTPv1(request) {
|
||||
try {
|
||||
//--for elearning app side
|
||||
let code = Math.floor(1000 + Math.random() * 9000);
|
||||
let getMessage = code + ' This is your verification code';
|
||||
let email = request.params.email;
|
||||
var Hashcode;
|
||||
var TenantId = request.params.TenantId ? request.params.TenantId : undefined;
|
||||
// console.log("In tempSendOTPv2");
|
||||
|
||||
console.log(JSON.stringify(request));
|
||||
|
||||
var encoded = encodeURIComponent(Hashcode);
|
||||
var otp = '<%23> You OTP is:' + code + ' ' + encoded + ' -QikEln';
|
||||
otp = otp.toString();
|
||||
// console.log(JSON.stringify(request));
|
||||
|
||||
if (email) {
|
||||
axios({
|
||||
|
||||
Reference in New Issue
Block a user