diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/authenticator.lua | 2 | ||||
-rw-r--r-- | lib/session.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua index fe91c3d..311e764 100644 --- a/lib/authenticator.lua +++ b/lib/authenticator.lua @@ -1,5 +1,5 @@ -- ACF Authenticator - does validation and loads sub-authenticator to read/write database --- We store the login info in the passwd table, "" field. It looks like +-- We store the logon info in the passwd table, "" field. It looks like -- password:username:ROLE1[,ROLE2...] module (..., package.seeall) diff --git a/lib/session.lua b/lib/session.lua index 146c0e9..d41a3f6 100644 --- a/lib/session.lua +++ b/lib/session.lua @@ -182,7 +182,7 @@ unlink_session = function (sessionpath, session) return statos end --- Record an invalid login event +-- Record an invalid logon event -- ID would typically be an ip address or username -- the format is lockevent.id.datetime.processid record_event = function( sessionpath, id_u, id_ip ) @@ -192,7 +192,7 @@ record_event = function( sessionpath, id_u, id_ip ) io.close(x) end --- Check how many invalid login events +-- Check how many invalid logon events -- have happened for this id in the last n minutes -- this will only effect the lockevent files count_events = function (sessionpath, id_user, ipaddr, minutes, limit) |