summaryrefslogtreecommitdiffstats
path: root/app/acf-util/logon-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Modified require statements for acf.xTed Trask2012-01-211-2/+2
|
* Made major changes to authenticator and roles to improve efficiency.Ted Trask2010-09-281-2/+2
| | | | | | | | | | Changed authenticator.lua to request individual users, rather than always loading everyone. Modified get_userinfo and removed get_userinfo_roles and get_userinfo_skin to remove unnecessary cfe processing. This was especially bad when retrieving the cfe options for skins and roles. This does break the interface used by other modules like acf-tinydns. Validation and cfe processing were moved into password-model, where they belong. Added global variables to authenticator and roles libraries so they can reuse data that was already generated. Modified logon-controller to only check for zero users if logon fails.
* Added sessiontimeout, lockouttime, and lockouteventlimit parameters to acf.conf.Ted Trask2010-03-101-1/+1
|
* Modified logonredirect to discard get/post data when don't follow login ↵Ted Trask2009-06-101-1/+1
| | | | redirect.
* Made session timeout nicer.Ted Trask2009-06-101-1/+1
| | | | Extended logon redirect due to session timeout to save get / post data and referrer info.
* Removed built-in users alpine and foo from core, and instead redirect to ↵ttrask2009-03-201-0/+3
| | | | | | create new user when none exist. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1738 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-221-15/+7
| | | | | | preparation for adding SQL authentication. Rewrote authentication functions to use cfe's. Made corresponding changes to roles and logon. Added dnsfiles field to userdata for tinydns access control. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1314 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Remove clientdata processing from logon-modelTed Trask2008-06-061-7/+7
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1207 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles, logon, and authenticatorTed Trask2008-05-011-2/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-301-3/+3
| | | | | | | | | | | | break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added cfe support to logonTed Trask2008-04-281-14/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1049 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Ted's Logon/permissions changesTed Trask2008-04-211-96/+42
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1030 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed bug where menus kept if going to logon page while logged on. Menus now ↵Mike Mason2008-03-201-0/+1
| | | | | | get rebuilt and the user logged off. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@836 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Made the build_menu a public function so that logoff could run it. No more bugsMike Mason2008-03-201-0/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@835 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changed Makefiles.Mika Havela2008-02-131-3/+3
| | | | | | Modified the view-file so it looks the same way other view-files looks. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@712 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Don't touch the sessiondata.menu table. Working on getting these both to ↵Mike Mason2008-02-131-0/+4
| | | | | | place nice together. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@711 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Cleaning up the session management and expiration items. Will be more bug ↵Mike Mason2008-02-071-6/+3
| | | | | | fixes/changes to come... git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@706 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added the full roles to the sessiondata.Mike Mason2008-02-051-0/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated the code to use md5sums in the acf passwd file. Made the ↵Mike Mason2008-01-301-1/+3
| | | | | | md5sum_string function(to go along with md5sum_file) in fs git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@665 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated changes hopefully meeting most of the security checks/validation ↵Mike Mason2008-01-291-9/+26
| | | | | | items in nangel's list git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@663 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Changes effect only the log in|out functions. Will work now. Next working on ↵Mike Mason2008-01-261-7/+51
| | | | | | updating to prevent misuse of the login function. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@656 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Minor change to really make it work. This all will be cleaned up shortlyMike Mason2008-01-241-3/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@639 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding logon-status and finally with nangel's help got this workingMike Mason2008-01-231-2/+20
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@632 ab2d0c66-481e-0410-8bed-d214d4d58bed
* logon updatesNathan Angelacos2007-12-211-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@446 ab2d0c66-481e-0410-8bed-d214d4d58bed
* WIPNathan Angelacos2007-12-091-1/+5
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@422 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added logevent function (hardcoded to write to /var/log/acf.log)Nathan Angelacos2007-12-091-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@421 ab2d0c66-481e-0410-8bed-d214d4d58bed
* logon model stubbed inNathan Angelacos2007-12-091-49/+27
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@420 ab2d0c66-481e-0410-8bed-d214d4d58bed
* moved core files to new dir structurev2.0_alpha1Natanael Copa2007-07-271-0/+61
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@219 ab2d0c66-481e-0410-8bed-d214d4d58bed