diff options
author | Nathan Angelacos <nangel@tetrasec.net> | 2007-12-09 17:27:21 +0000 |
---|---|---|
committer | Nathan Angelacos <nangel@tetrasec.net> | 2007-12-09 17:27:21 +0000 |
commit | 48cf8a5a2da228724e519187469539d8a006d83f (patch) | |
tree | 650f4fa1d9369d06fc7be08b9c4089b5921c41b0 /lib/session.lua | |
parent | 4daf25480c6bd4688d700ebc6f37db4001be68f8 (diff) | |
download | acf-core-48cf8a5a2da228724e519187469539d8a006d83f.tar.bz2 acf-core-48cf8a5a2da228724e519187469539d8a006d83f.tar.xz |
logon model stubbed in
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@420 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/session.lua')
-rw-r--r-- | lib/session.lua | 14 |
1 files changed, 13 insertions, 1 deletions
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 |