bug #2757: change the opac login generation
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Tue, 2 Dec 2008 10:24:30 +0000 (11:24 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 10 Dec 2008 13:27:09 +0000 (14:27 +0100)
commit2e9b4536cc9e2ae01e397dba74c5ee4970685268
treed735422f5666bd6bb0bd0429e7bd60a965ca9af3
parent33888b26b5580655ae778a7590b68a2f17030521
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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/Members.pm
members/memberentry.pl