[Koha-bugs] [Bug 19845] New: Patron password is ignored during self-registration if PatronSelfRegistrationVerifyByEmail is enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 19 22:36:25 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19845

            Bug ID: 19845
           Summary: Patron password is ignored during self-registration if
                    PatronSelfRegistrationVerifyByEmail is enabled
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: library at sll.texas.gov
        QA Contact: testopia at bugs.koha-community.org

Bug 15343 allows patrons to choose their own passwords during
self-registration. But this does not work if the
PatronSelfRegistrationVerifyByEmail preference is set to "Require." If e-mail
verification is required, whatever password the patron supplied in the form is
ignored, and they are given a randomly generated password once they click on
the verification link.

To test this behavior:

1. Make sure there is a valid e-mail stored in the KohaAdminEmailAddress
preference.
2. Set PatronSelfRegistration to Allow.
3. Set PatronSelfRegistrationVerifyByEmail to Require.
3. Be sure "password" is listed in PatronSelfRegistrationBorrowerMandatoryField
and NOT listed in PatronSelfRegistrationBorrowerUnwantedField.
4. Be sure there is a valid patron category in
PatronSelfRegistrationDefaultCategory.
5. Set PatronSelfRegistrationPrefillForm to "Display and prefill" so that you
can see the generated password.

Then fill out the self-registration form, include a valid e-mail address, and
select a password. Wait for the verification e-mail. Click on the link and
you'll see that the password you entered in the form is not used. Instead, Koha
will have generated a random password for the account.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list