Skip to content

Commit

Permalink
Fixed validation system links
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga committed Oct 25, 2024
1 parent e87f152 commit d7db63c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion automation/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// Send reminder email
$to = $registrant_email;
$subject = 'Contact Information Validation Reminder';
$link = $config['registrar_url']."validate?token=$token";
$link = $config['registrar_url']."index.php?m=validation&token=".$token;
$message = "Dear Registrant,\n\nThis is a reminder to validate your contact information for the domain $domain_name. Please click the following link to validate your information:\n\n$link\n\nIf you have already validated your information, please disregard this message.\n\nSincerely,\nThe Registrar";
send_email($to, $subject, $message, $config);

Expand Down
2 changes: 1 addition & 1 deletion automation/validation_email.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
// Send email with validation link
$to = $row['email'];
$subject = 'Namingo Registrar Validation Link';
$link = $config['registrar_url']."validate?token=$token";
$link = $config['registrar_url']."index.php?m=validation&token=".$token;
$message = "Please click the following link to validate your contact information:\n\n$link";
send_email($to, $subject, $message, $config);
}
4 changes: 3 additions & 1 deletion install.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ Once you have successfully configured all automation scripts, you are ready to i

```bash
git clone https://github.com/getnamingo/whmcs-validation
mv whmcs-validation/Validation /var/www/modules/
mv whmcs-validation/validation /var/www/html/whmcs/modules/addons
chown -R www-data:www-data /var/www/html/whmcs/modules/addons/validation
chmod -R 755 /var/www/html/whmcs/modules/addons/validation
```

- Go to Extensions > Overview in the admin panel and activate "Domain Contact Verification".
Expand Down

0 comments on commit d7db63c

Please sign in to comment.