Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click on the link to verify your account <click here> (localhost ??) #1

Open
Manuey opened this issue Jan 25, 2021 · 5 comments
Open

Comments

@Manuey
Copy link

Manuey commented Jan 25, 2021

How can I change the link for verification? or enter the domain name and not localhost?

Thanks for any help!

@adekolacode
Copy link
Owner

adekolacode commented Jan 25, 2021 via email

@ankeshanand1
Copy link

How can I change the link for verification? or enter the domain name and not localhost?

Thanks for any help!

Go to register.php and Change $mail Attributes and Details

@LegendPlant2
Copy link

Hi, i got problem in these lines:

$mail->Subject = 'A verification link';
$mail->Body = 'Click on the link to verify your account click here';
$mail->send();

When i changed my link then tried to register and clicked verification link, it returns to error
with address bar result: https://example.com/verify.php?v=%7B$vcode%7D&id=%7B$id%7D
"Invalid verification llink"

How to solve it, thanks

@ankeshanand1
Copy link

From what I understand, you did https://example.com/verify.php?v={$vcode}&id={$id} for the link. However, you could directly do this:
$mail->Body = 'Click on the link to verify your account <a href="https://example.com/verify.php?v='.$vcode.'&id='.$id.'">click here</a>';
or use double quotes instead.

If your issue isn't solved, could you paste the full code?

@LegendPlant2
Copy link

It worked, Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants