[Koha-bugs] [Bug 13046] self-registration error with same firstname and lastname!

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 9 14:09:24 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13046

--- Comment #1 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Nguyen Quoc Uy from comment #0)
> When 2 people self register account on Koha, if they have same firstname and
> lastname, then they will have same username with different password. Then
> the second username can not login.
> I think we should change the second username to something like
> firstname.lastname2 if there is an exist username like firstname.lastname.

Hi,
Do not know what your firstname and lastname is btw :)
The code in Members.pm contains two routines for generating the userid. 
Generate_Userid generates the suggested userid and Check_Userid does actually
check if that userid is not in the database.

I tried to reproduce your problem, but in my case with the same firstname and
lastname a userid was generated that was followed by a digit 1. So:
firstname.lastname1

I am curious if your problem somehow has to do with special characters or so.
Could you give me the exact firstname and lastname to reproduce this error
please? Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list