summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Added home page (action) to user parameters and redirect there after loginTed Trask2010-10-061-2/+14
| | | | Moved get_all_permissions function from acf-util/roles-model to lib/roles
* Made major changes to authenticator and roles to improve efficiency.Ted Trask2010-09-281-14/+130
| | | | | | | | | | 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.
* Changed file permissions, cli app should only be root executable.Ted Trask2009-12-301-0/+0
|
* Removed built-in users alpine and foo from core, and instead redirect to ↵ttrask2009-03-201-1/+11
| | | | | | 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-102/+10
| | | | | | 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
* Modified logon and password to use new redirect_to_referrer functionality.Ted Trask2008-07-041-1/+6
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1279 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moved clientdata processing from password model to controller.Ted Trask2008-06-061-27/+23
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1208 ab2d0c66-481e-0410-8bed-d214d4d58bed
* For cfe.type='form', use cfe.option as the command to save the form data ↵Ted Trask2008-05-151-37/+58
| | | | | | i.e. can be used as button name. Modified pages that use 'form' to also use 'option'. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1122 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-021-4/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Forgot the password model fileTed Trask2008-04-301-0/+105
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1053 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed password-model because it's not used.Mika Havela2008-02-271-109/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@779 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Moved password-model (temporary - This will go to authenticator-plaintext)Mika Havela2008-02-181-0/+109
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@751 ab2d0c66-481e-0410-8bed-d214d4d58bed