Bugzilla – Attachment 55663 Details for
Bug 16273
Prevent selfregistration from printing the borrower password and filling the logging form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 16273: Add the new pref PatronSelfRegistrationPrefillForm
PASSED-QA-Bug-16273-Add-the-new-pref-PatronSelfReg.patch (text/plain), 3.57 KB, created by
Katrin Fischer
on 2016-09-18 20:51:34 UTC
(
hide
)
Description:
[PASSED QA] Bug 16273: Add the new pref PatronSelfRegistrationPrefillForm
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-09-18 20:51:34 UTC
Size:
3.57 KB
patch
obsolete
>From c23c61f03bf691fc0c4c7724943b712336d90d58 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 23 Apr 2016 15:54:59 +0100 >Subject: [PATCH] [PASSED QA] Bug 16273: Add the new pref > PatronSelfRegistrationPrefillForm > >Sponsored-by: BULAC - http://www.bulac.fr/ >Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr> > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > installer/data/mysql/atomicupdate/bug_bulac3.sql | 1 + > installer/data/mysql/sysprefs.sql | 1 + > .../intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 7 +++++++ > 3 files changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_bulac3.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_bulac3.sql b/installer/data/mysql/atomicupdate/bug_bulac3.sql >new file mode 100644 >index 0000000..b71efaa >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_bulac3.sql >@@ -0,0 +1 @@ >+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('PatronSelfRegistrationPrefillForm', '1', 'Display password and prefill login form after a patron has self registered', NULL, 'YesNo'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 5dc6bb9..dc88088 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -390,6 +390,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('PatronSelfRegistrationEmailMustBeUnique', '0', 'If set, the field borrowers.email will be considered as a unique field on self registering', NULL, 'YesNo'), > ('PatronSelfRegistrationExpireTemporaryAccountsDelay','0',NULL,'If PatronSelfRegistrationDefaultCategory is enabled, this system preference controls how long a patron can have a temporary status before the account is deleted automatically. It is an integer value representing a number of days to wait before deleting a temporary patron account. Setting it to 0 disables the deleting of temporary accounts.','Integer'), > ('PatronSelfRegistrationLibraryList','',NULL,'Only display libraries listed. If empty, all libraries are displayed.','Free'), >+('PatronSelfRegistrationPrefillForm','1',NULL,'Display password and prefill login form after a patron has self registered','YesNo'), > ('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate his or her account.','YesNo'), > ('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'), > ('EnablePayPalOpacPayments', '0', NULL , 'Enables the ability to pay fees and fines from the OPAC via PayPal', 'YesNo' ), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index a565f57..74eee56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -751,6 +751,13 @@ OPAC: > - pref: PatronSelfRegistrationLibraryList > - (separate branchcode with |). > - If empty, all libraries will be listed. >+ - >+ - pref: PatronSelfRegistrationPrefillForm >+ choices: >+ yes: "Display and prefill" >+ no: "Do not display and prefill" >+ - "password and login form after a patron has self registered." >+ > Advanced Search Options: > - > - Show search options >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16273
:
50608
|
50609
|
51156
|
51157
|
51158
| 55663 |
55664