[Koha] Allowing patrons to set their passwords during self-registration
Arturo Longoria
Arturo.Longoria at sll.texas.gov
Thu Nov 30 03:18:41 NZDT 2017
Hello, everyone! I was hoping I could get some help or input from the list about an issue our library is experiencing. We use Koha 17.05. We allow patrons to self-register an account, and their passwords are generated by Koha and shown to them after they click on the e-mail verification link as part of the registration process.
With bug 15343 having been incorporated as of version 16.05 (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15343), we wanted to switch over to having patrons select their own passwords during self-registration. I have followed the instructions outlined as part of the bug's test plan, but I cannot get this to work – Koha keeps ignoring the user-supplied password and generates a random password.
What I do is I remove "password" from the PatronSelfRegistrationBorrowerUnwantedField preference and add "password" to the PatronSelfRegistrationBorrowerMandatoryField preference since we want to make this a required field. I'll then go to the self-registration form, fill out all of the required fields, including the password fields that are now marked as required, and wait for the self-registration verification e-mail. When I click on the link in the e-mail, I'm shown my new username and a new, random password – not the one I had entered in the form! I've tried turning off the PatronSelfRegistrationPrefillForm preference in case that was an issue, but in those cases, I can only assume a random password was generated because I still can't login with the password I supplied in the form.
Any thoughts on what I might be missing or what could be the issue? I'd appreciate any input!
Thank you,
Arturo Longoria
Reference Librarian/Web Manager
Texas State Law Library
More information about the Koha
mailing list