bug #2757: change the opac login generation
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Tue, 2 Dec 2008 10:24:30 +0000 (11:24 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 2 Dec 2008 14:35:01 +0000 (08:35 -0600)
commit873d1c63364ddc0b4593117fd56d64877f20c0d9
treea83c0012dfebc5435b24a5b0b82d24d463af1cbf
parent41db97255c1b7c1af9995eb9fb784822522f7deb
bug #2757: change the opac login generation

This patch change the method used to generate a new login for a user when his informations are modified(memberentry.pl).

Before the login are generated with the first letter of lastname and the 9 first letter of the surname, and do not verify the
login already exist).
Now the login will be lastname.surnameX, where X is an incremented digit if the login already exists.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Members.pm
members/memberentry.pl