Duplicate usernames
Hi.
It seems it is possible to have different members, with different email addresses who share the same username.
This is on the standard join form with prevent duplicate email addresses enabled.
Do you believe this is correct, as it is causing logon issues for our group as the password doesnt match.
A quick look through join.php and cns_join.php in sources I cant obviously see any checks for this?
Any advise grateful.
Chris
Chris
It seems it is possible to have different members, with different email addresses who share the same username.
This is on the standard join form with prevent duplicate email addresses enabled.
Do you believe this is correct, as it is causing logon issues for our group as the password doesnt match.
A quick look through join.php and cns_join.php in sources I cant obviously see any checks for this?
Any advise grateful.
Chris
Chris
Can you confirm that the duplicate users got there through the join form, not say a CSV import? It shouldn't be possible, but I am checking the code for edge cases.
Hi chris.
Yes, 99% certain its through the normal join form…. although I haven't considered the case of someone changing their username post joining in their profile?
Doing a csv download of the members list shows ID,username of:-
814 Linda
790 Linda
And these are different members with different email addresses.
I haven't looked at the database to see if there is any other white space in the username.
(Remember this is a custom version around 10.15 for the forum email integration.)
Yes, 99% certain its through the normal join form…. although I haven't considered the case of someone changing their username post joining in their profile?
Doing a csv download of the members list shows ID,username of:-
814 Linda
790 Linda
And these are different members with different email addresses.
I haven't looked at the database to see if there is any other white space in the username.
(Remember this is a custom version around 10.15 for the forum email integration.)
Yes, I've found the issue now, it's unique to your custom version. I'm making some progress.
Okay, sorry for the issue.
A feature change was stil half implemented in your branch, and the code wasn't consistent.
To fix please change false // check_correctness to true // check_correctness in sources/cns_join.php.
A feature change was stil half implemented in your branch, and the code wasn't consistent.
To fix please change false // check_correctness to true // check_correctness in sources/cns_join.php.
0 guests and 0 members have recently viewed this.
