Forward-port of a patch from Steve Callendar, via James Fournie, via launchpad:
When the patron.password.use_phone is set, new patrons are created with their password set to the last 4 digits of their phone number, HOWEVER, when a patron's password is reset, it does not work properly. Although the little underlined summary shows the proper 4 digits, the password box displays 9-ish digits, and is not the last 4 digits of the password.
The attached patch was created by Steve Callender and is confirmed working on 1.6.0
ORIGINAL CAVEAT: This patch will not work on 2.0 as that has a new user editor, but it would presumably be worthwhile to verify this functionality works in that editor as well.
ED NOTE: Because it is possible to use the old editor -- it still exists -- this patch should be applied. It does what it advertises to do, which is fix the old editor to follow the "use phone number" OU setting.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17922
dcc99617-32d9-48b4-a31d-
7c20da2025e4