Bugzilla – Attachment 27393 Details for
Bug 11715
Z39.50 search page does not check authorization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 11715 : Set the default of authnotrequired = 0 in get_template_and_user
SIGNED-OFF-Bug-11715--Set-the-default-of-authnotre.patch (text/plain), 1.02 KB, created by
Kyle M Hall (khall)
on 2014-04-22 11:31:21 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 11715 : Set the default of authnotrequired = 0 in get_template_and_user
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-04-22 11:31:21 UTC
Size:
1.02 KB
patch
obsolete
>From c3ecd7854c3941c2890876f339a929b17aacda0f Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.nz> >Date: Tue, 11 Mar 2014 10:51:00 +1300 >Subject: [PATCH] [SIGNED-OFF] Bug 11715 : Set the default of authnotrequired = 0 in get_template_and_user > >To test: >This patch should be a no op > >Nothing should change, please try a few pages and check that auth >behaviing correctly > >Follow up patches are to remove all the unnessecary setting of this >value, so that the only places we set are when we do want >authnotrequired=1 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Auth.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 44edf67..a3ea63d 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -138,7 +138,7 @@ sub get_template_and_user { > > my $in = shift; > my ( $user, $cookie, $sessionID, $flags ); >- >+ $in->{'authnotrequired'} ||= 0; > my $template = C4::Templates::gettemplate( > $in->{'template_name'}, > $in->{'type'}, >-- >1.7.2.5
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 11715
:
26039
|
26040
|
26388
|
27393
|
27394
|
27395
|
27684
|
27685
|
27686
|
27775
|
27776
|
27777
|
27778
|
27912
|
27913
|
27914
|
27915
|
27916
|
29063
|
29064
|
29065
|
29066
|
29067
|
29068
|
29069
|
29070
|
29071
|
29072