[Koha] OPAC username and password
Chris Cormack
crc at liblime.com
Thu Jun 7 14:42:20 NZST 2007
On 7/06/2007, at 2:32 PM, Rick Welykochy wrote:
> Hello to all list members,
>
>
> Can password access for the OPAC simply be "turned on"?
Not quite that easy
>
> If not, would I have to copy the existing password/cookie
> functionality
> as found in the intranet scripts into the OPAC scripts?
>
>
But not that hard either, its already all there in all the scripts,
all you need to do is take a look at the scripts you want passworded,
for eg
opac-main.pl
In 2.2.9 line 34
You will see
authnotrequired => 1,
Flick that to 0, and bang, you will be asked for a password on that
page.
If you really wanted to, and this would be cool, you could make a
system preference, that then each of the scripts could check, and
turn authnotrequired to 0 if its switched on.
Theres only a few opac scripts to touch, and adding the syspref
shouldnt take long.
Chris
--
Chris Cormack chris.cormack at liblime.com
VP Research and Development www.liblime.com
LibLime +64 21 542 131
More information about the Koha
mailing list