diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-05-30 20:08:26 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-05-30 20:08:26 +0000 |
commit | 2d34b61db1eb8f4f59ee22907c98a911eddcee9f (patch) | |
tree | 6ab9c6cafcc83083c0a43603613e8c590f92895e /lib | |
parent | d2dcdd318768ba7e0ddc06afee908c85ba8b98cd (diff) | |
download | acf-core-2d34b61db1eb8f4f59ee22907c98a911eddcee9f.tar.bz2 acf-core-2d34b61db1eb8f4f59ee22907c98a911eddcee9f.tar.xz |
Change logon/logout action to logon/logoff and standardize on logon/off instead of login/out
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) |