From 5c54bb7e5e599f77f20bc3528f7c6acc552c5346 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Thu, 11 Jul 2002 19:56:33 +0000 Subject: [PATCH] Added info about the new authentication to koha.upgrade, and changed inactivity timeout to 2 hours in Auth.pm. This will be configurable in the final version. --- C4/Auth.pm | 5 ++++- koha.upgrade | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 0afc6f35fa..61cc3d27c8 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -39,7 +39,7 @@ sub checkauth { $sth->execute($sessionID); if ($sth->rows) { my ($userid, $ip, $lasttime) = $sth->fetchrow; - if ($lasttimeprepare("delete from sessions where sessionID=?"); @@ -128,6 +128,7 @@ sub checkauth { Password: + + diff --git a/koha.upgrade b/koha.upgrade index 179fac4330..e9bcec2b0a 100644 --- a/koha.upgrade +++ b/koha.upgrade @@ -548,6 +548,25 @@ Upgrading Database system ("perl -I $intranetdir/modules scripts/updater/updatedatabase"); +print qq| + +================== += Authentication = +================== + +This release of Koha has a new authentication module. If you are not already +using basic authentication on your intranet, you will be required to log in to +access some of the features of the intranet. You can log in using the userid +and password from the /etc/koha.conf configuration file at any time. Use the +"Members" module to add passwords for other accounts and set their permissions. + +[NOTE PERMISSIONS ARE NOT COMPLETED AS OF 1.2.3RC1. Do not give passwords to + any patrons unless you want them to have full access to your intranet.] +|; +print "Press the key to continue: "; +; + + print qq| -- 2.39.5