1
I recently switched my site from allowing users to authenticate their own accounts at registration to requiring the admins to authorize the new registration. So now when a new user registers, I get an email that looks like this:
=====
Hello AdminUserName,
A new user NewUserName (new@email.com) has just registered an account at This Awesome Website.
Clicking on the link below will activate the account of this user:
http://www.mysite.org/modules/profile/activate.php?id=4964&actkey=d9471233
=====
I wanted the email to include a link to the new user's profile so that I can have a quick look at it before I approve the registration, so I altered registration.php so that now the email I get is the same as above, but with the addition of this line:
=====
The user's profile can be viewed here:
http://www.mysite.org/modules/profile/userinfo.php?id=4964
=====
What is weird is that when I click on that link, it takes me to my OWN profile. My user id is 1. I can't understand why accessing the above URL with the user id of 4964 would take me to my own profile page.
Can anyone explain this?
Thanks,
- b -