otp space changed
This commit is contained in:
parent
63938243e0
commit
025b2bff07
@ -1081,10 +1081,10 @@ exports.forgotPasswordRequestOTP = async (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const formattedSupportPhone = formatUAEPhoneNumber(process.env.SUPPORT_PHONE);
|
const formattedSupportPhone = formatUAEPhoneNumber(process.env.SUPPORT_PHONE);
|
||||||
const formattedOtp = otp.split("").join(" ");
|
// const formattedOtp = otp.split("").join(" ");
|
||||||
const placeHolderData = {
|
const placeHolderData = {
|
||||||
username: user.name,
|
username: user.name,
|
||||||
verfication_code: formattedOtp,
|
verfication_code: otp,
|
||||||
otp_expiry: 10,
|
otp_expiry: 10,
|
||||||
support_email: process.env.SUPPORT_EMAIL,
|
support_email: process.env.SUPPORT_EMAIL,
|
||||||
support_phone: formattedSupportPhone,
|
support_phone: formattedSupportPhone,
|
||||||
@ -1260,10 +1260,10 @@ exports.requestOTPForLogin = async (req, res) => {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
const formattedSupportPhone = formatUAEPhoneNumber(process.env.SUPPORT_PHONE);
|
const formattedSupportPhone = formatUAEPhoneNumber(process.env.SUPPORT_PHONE);
|
||||||
const formattedOtp = otp.split("").join(" ");
|
// const formattedOtp = otp.split("").join(" ");
|
||||||
const placeHolderData = {
|
const placeHolderData = {
|
||||||
username: loggingUser.name,
|
username: loggingUser.name,
|
||||||
verfication_code: formattedOtp,
|
verfication_code: otp,
|
||||||
otp_expiry: 10,
|
otp_expiry: 10,
|
||||||
support_email: process.env.SUPPORT_EMAIL,
|
support_email: process.env.SUPPORT_EMAIL,
|
||||||
support_phone: formattedSupportPhone,
|
support_phone: formattedSupportPhone,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user