Main Koha release repository https://koha-community.org
Find a file
Jonathan Druart 325fddd8e9 Bug 19845: Do not generate a password if one is filled on selfreg
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.

Test plan:
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 used.

Signed-off-by: Arturo <alongoria@sll.texas.gov>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-12-21 13:07:54 -03:00
acqui Bug 17182: (QA follow-up) Fix call to GetMarcBiblio 2017-12-11 14:30:43 -03:00
admin Bug 12227: Remove the demo functionality 2017-12-11 11:34:20 -03:00
api/v1 Bug 19410: (follow-up) Add reserved params definitions 2017-12-11 17:46:59 -03:00
authorities Bug 19537: (QA follow-up) Consistent structures 2017-11-08 13:34:48 -03:00
basket
C4 Bug 19713: Remove 2 occurences of OpacShowLibrariesPullDownMobile 2017-12-20 13:34:09 -03:00
catalogue
cataloguing Bug 19595: Clicking plugin link does not fill item's date acquired field 2017-12-07 10:09:51 -03:00
circ Bug 19746: Remove debug statements in returns.pl 2017-12-11 14:30:42 -03:00
clubs
course_reserves Bug 19231: No need to pass the size to the template 2017-10-27 16:05:55 -03:00
debian Bug 18907: Build has deprecating message 2017-12-07 10:09:52 -03:00
docs Bug 7143: Update about page for new dev - Isabel Grubi 2017-12-20 13:52:44 -03:00
errors
etc Bug 7317: Interlibrary loans framework for Koha. 2017-11-09 11:42:12 -03:00
ill Bug 7317: Display all the libraries, not only one 2017-11-09 13:31:10 -03:00
installer Bug 19514: Implement password restrictions into onboarding tool 2017-12-14 16:57:56 -03:00
Koha Bug 18330: (follow-up) Do not return undef explicitely 2017-12-18 12:16:19 -03:00
koha-tmpl Bug 19669: Remove deprecated checkouts by patron category report 2017-12-21 11:55:14 -03:00
labels Bug 19681: Correct result count formatting 2017-12-07 09:37:10 -03:00
members Bug 11210: Writeoff partial amounts 2017-12-11 14:30:42 -03:00
misc Bug 19444: Do not auto renew if patron is expired and BlockExpiredPatronOpacActions is set 2017-12-18 12:16:26 -03:00
offline_circ
opac Bug 19845: Do not generate a password if one is filled on selfreg 2017-12-21 13:07:54 -03:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 19669: (QA follow-up) Remove itemstypes.plugin 2017-12-21 13:07:11 -03:00
reserve Bug 19533: Hold pulldown for itemtype is empty if hold placement needs override 2017-12-07 09:37:10 -03:00
reviews Bug 19808: Handle deleted reviewers gracefully - reviews/reviewswaiting.pl 2017-12-21 11:07:37 -03:00
rotating_collections
serials Bug 19315: Prevent crash if no items and not library set for the subscription 2017-12-21 10:51:03 -03:00
services
skel
suggestion Bug 18399: Add reasons in edit suggestion page 2017-10-11 13:05:39 -03:00
svc Bug 19536: Odd number of elements in anonymous hash in svc/bib 2017-11-26 13:15:58 -03:00
t Bug 19713: Remove 2 occurences of OpacShowLibrariesPullDownMobile 2017-12-20 13:34:09 -03:00
tags
test
tmp/modified_authorities
tools Bug 19675: Fix update notice templates when they are translatable 2017-11-26 14:13:24 -03:00
virtualshelves
xt
.editorconfig
.htaccess
.mailmap
about.pl Bug 19542: (QA follow-up) Remove debug warn 2017-12-11 14:30:42 -03:00
changelanguage.pl
edithelp.pl Bug 16447: Remove occurrence of the borrow permission which does no longer exist 2016-05-05 21:28:14 +00:00
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
Koha.pm Bug 19278: DBRev 17.12.00.004 2017-12-11 17:46:59 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 7317: Interlibrary loans framework for Koha. 2017-11-09 11:42:12 -03:00
MANIFEST.SKIP
README
README.md
README.robots
rewrite-config.PL Bug 15427 : Enable TLS support for MySQL 2017-03-03 18:33:07 +00:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo