projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5bf27
)
Bug 4289: OpacPublic prevents login into OPAC
author
Ian Walls
<ian.walls@bywatersolutions.com>
Fri, 21 Jan 2011 22:11:51 +0000
(17:11 -0500)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Sun, 23 Jan 2011 18:18:50 +0000
(07:18 +1300)
If OpacPublic is set to Public, opac-user.pl does not ask for authentication, and takes the patron to a
null OPAC summary page.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
opac/opac-user.pl
patch
|
blob
|
history
diff --git
a/opac/opac-user.pl
b/opac/opac-user.pl
index
e1e50cf
..
634b77a
100755
(executable)
--- a/
opac/opac-user.pl
+++ b/
opac/opac-user.pl
@@
-47,7
+47,7
@@
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
template_name => "opac-user.tmpl",
query => $query,
type => "opac",
- authnotrequired =>
( C4::Context->preference("OpacPublic") ? 1 : 0 )
,
+ authnotrequired =>
0
,
flagsrequired => { borrow => 1 },
debug => 1,
}