From 48cf8a5a2da228724e519187469539d8a006d83f Mon Sep 17 00:00:00 2001 From: Nathan Angelacos Date: Sun, 9 Dec 2007 17:27:21 +0000 Subject: logon model stubbed in git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@420 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/session.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'lib/session.lua') diff --git a/lib/session.lua b/lib/session.lua index 149f5aa..37dcecb 100644 --- a/lib/session.lua +++ b/lib/session.lua @@ -157,4 +157,16 @@ record_event = function( sessionpath, id ) (posix.getpid("pid")) or "" ), "w") io.close(x) end - + +-- Check how many invalid login events +-- have happened for this id in the last n minutes +count_events = function ( sessionpath, id, minutes) + -- FIXME + return 0 +end + +-- Clear events that are older than n minutes +expire_events = function (sessionpath, minutes) + -- FIXME + return 0 +end -- cgit v1.2.3