fix login and configurations
This commit is contained in:
@@ -115,7 +115,20 @@ if (password_verify(trim($data["password"]), $temp["password"])) {
|
||||
"company_id" => 0,
|
||||
"smtp" => $SMTP,
|
||||
"subject" => "One Time Password (OTP) For reference number " . $reference_number,
|
||||
"message" => "Your OTP is " . $otp . " for reference number " . $reference_number,
|
||||
"message" => implode("\n", [
|
||||
"Dear WMS user,",
|
||||
"",
|
||||
"You requested a One-Time Password (OTP) to log in to WMS.",
|
||||
"",
|
||||
"Please use the OTP below to complete your request:",
|
||||
"• OTP code: " . $otp,
|
||||
"• Reference number: " . $reference_number,
|
||||
"",
|
||||
"Please note:",
|
||||
"• This code will expire in 3 minutes. Please complete your action promptly.",
|
||||
"• Do not share this code with anyone to keep your account secure.",
|
||||
"• If you did not request this code, please ignore this email.",
|
||||
]),
|
||||
"channel_name" => "WMS LOGIN OTP ",
|
||||
"to" => $user_email,
|
||||
"key" => $pinkey,
|
||||
|
||||
Reference in New Issue
Block a user