From b202af98292d6d7b5053e5a934b916153ce89af9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 28 Sep 2010 07:15:36 +0000 Subject: Made major changes to authenticator and roles to improve efficiency. 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. --- app/acf_www-controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/acf_www-controller.lua') diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 7d9d2d5..25f4c09 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -464,7 +464,7 @@ dispatch = function (self, userprefix, userctlr, useraction) controller.worker.mvc.pre_exec ( controller ) end - -- run the action + -- run the action viewtable = controller.worker[self.conf.action](controller) -- run the post_exec code -- cgit v1.2.3