diff options
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 |