From 1c23dbef0405d8ca9776737a209fb5b549219bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Sun, 7 Nov 2010 01:57:30 +0200 Subject: authdb, auth-ip: make logout_timeout configurable * authdb: change to use squark.conf instead of filter.conf * authdb: config option logout_timeout added (defaults to 15mins) * auth-ip: add -r parameter to refresh login time fixes #452 --- src/squark-filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/squark-filter.c') diff --git a/src/squark-filter.c b/src/squark-filter.c index 567201a..eff88b1 100644 --- a/src/squark-filter.c +++ b/src/squark-filter.c @@ -395,7 +395,7 @@ static void read_input(struct sqdb *db) category = 0; token = authdb_get(&adb, &addr, &entry, 1); - if (authdb_check_login(token, &entry, username, now)) { + if (authdb_check_login(token, &entry, username, now, &adbc)) { auth_ok = 1; username = BLOB_STRLEN(entry.p.login_name); } else { -- cgit v1.2.3