[Bug 13046] New: self-registration error with same firstname and lastname!
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13046 Bug ID: 13046 Summary: self-registration error with same firstname and lastname! Change sponsored?: --- Product: Koha Version: 3.16 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: nguyenquocuy_1102@yahoo.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com 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. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13046 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13046 --- Comment #1 from M. de Rooy <m.de.rooy@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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13046 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I also tried to reprocude this on current master and see the same results as Marcel - for me the second person's userid has a number in the end, avoiding a collision. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13046 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #3 from M. de Rooy <m.de.rooy@rijksmuseum.nl> --- Closing this report. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org