change sending message

This commit is contained in:
Ibnu Maksum 2023-03-06 14:51:36 +07:00
parent ba85ed6d0e
commit ec45d59a68
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -132,7 +132,7 @@ switch ($do) {
}else{
$otp = rand(100000,999999);
file_put_contents($otpPath, $otp);
sendSMS($username,$config['CompanyName']."\nYour Verification code are: $otp");
Message::sendSMS($username,$config['CompanyName']."\nYour Verification code are: $otp");
$ui->assign('username', $username);
$ui->assign('notify', '<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert">