From d339bbb951096871ceccb7d5d9437c1567a99ce0 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 25 Jan 2006 18:58:13 +0000 Subject: [PATCH] added override login type for short logins git-svn-id: svn://svn.open-ils.org/ILS/trunk@2828 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_auth.c | 39 +++++++++++++++++++++------- Open-ILS/src/c-apps/oils_constants.h | 1 + 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index 85eaf9b6c6..f7a07b257b 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -11,11 +11,16 @@ #define MODULENAME "open-ils.auth" +#define OILS_AUTH_OPAC "opac" +#define OILS_AUTH_STAFF "staff" +#define OILS_AUTH_OVERRIDE "override" + int osrfAppInitialize(); int osrfAppChildInit(); int __oilsAuthOPACTimeout = 0; int __oilsAuthStaffTimeout = 0; +int __oilsAuthOverrideTimeout = 0; int osrfAppInitialize() { @@ -35,7 +40,7 @@ int osrfAppInitialize() { "{authtoken : , authtime: