From d89b472326f79a51166d3087a0be67cb94524d65 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 11 Mar 2014 10:51:00 +1300 Subject: [PATCH] [PASSED QA] 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 Signed-off-by: Katrin Fischer No regressions found. --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.8.3.2