Bugzilla – Attachment 170761 Details for
Bug 37692
Self-registration verification cannot be done if OPACPublic is not allowed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37692 - Self-registration verification cannot be done if OPACPublic is not allowed
Bug-37692---Self-registration-verification-cannot-.patch (text/plain), 1.77 KB, created by
Olli-Antti Kivilahti
on 2024-08-27 11:05:02 UTC
(
hide
)
Description:
Bug 37692 - Self-registration verification cannot be done if OPACPublic is not allowed
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2024-08-27 11:05:02 UTC
Size:
1.77 KB
patch
obsolete
>From 99f039e4f69a5e08b6af1f4ee82935eb6e3d8484 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@hypernova.fi> >Date: Tue, 20 Aug 2024 20:09:06 +0300 >Subject: [PATCH] Bug 37692 - Self-registration verification cannot be done if > OPACPublic is not allowed > >Registering new accounts need to be done even though OPAC requires login. >--- > opac/opac-registration-verify.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/opac/opac-registration-verify.pl b/opac/opac-registration-verify.pl >index d3ae183384..56cc77ff32 100755 >--- a/opac/opac-registration-verify.pl >+++ b/opac/opac-registration-verify.pl >@@ -70,7 +70,7 @@ if ( $rego_found > template_name => "opac-registration-confirmation.tt", > type => "opac", > query => $cgi, >- authnotrequired => C4::Context->preference("OpacPublic") ? 1 : 0, >+ authnotrequired => 1, > } > ); > $template->param( "token" => $token ); >@@ -111,7 +111,7 @@ elsif ( $rego_found > template_name => "opac-registration-confirmation.tt", > type => "opac", > query => $cgi, >- authnotrequired => C4::Context->preference("OpacPublic") ? 1 : 0, >+ authnotrequired => 1, > } > ); > $template->param( "confirmed" => 1 ); >@@ -173,7 +173,7 @@ if( !$template ) { # Missing token, patron exception, etc. > template_name => "opac-registration-invalid.tt", > type => "opac", > query => $cgi, >- authnotrequired => C4::Context->preference("OpacPublic") ? 1 : 0, >+ authnotrequired => 1, > }); > $template->param( error_type => $error_type, error_info => $error_info ); > } >-- >2.39.2
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 37692
: 170761