I need to implement something particular for registration page.
I send to users a link like this:
https://mywebsite.com/register?id=123456789
Then, i check to my database if the ID exists, and if not, i want to redirect the user to another page, and they cannot subscribe to my website.
What is the best way to do this? I cannot find a valid solution...
I tried do modify the file App\Http\Controllers\Auth\RegisterController.php (__construct method) but nothing happens.
Thanks in advance for help!