diff options
author | Zach LeBar <zach@zachlebar.com> | 2012-03-21 15:06:32 +0000 |
---|---|---|
committer | Zach LeBar <zach@zachlebar.com> | 2012-03-21 15:09:16 +0000 |
commit | 0874f88bc25066248c28b16d3bbf1ab5cd1f2611 (patch) | |
tree | 28ee52ea1b8a44eeff8453b6264953a2ab2665bd /password-controller.lua | |
parent | 6d638ac9d28eac2c144d229359b64c0edaee2b4d (diff) | |
download | acf-alpine-baselayout-0874f88bc25066248c28b16d3bbf1ab5cd1f2611.tar.bz2 acf-alpine-baselayout-0874f88bc25066248c28b16d3bbf1ab5cd1f2611.tar.xz |
Change all -controller.lua files to use new handle_form() functions found in acf_www-controller.lua instead of the controllerfunctions.lua version and also instead of redirect_to_referrer(). Made corresponding changes to vmail-model .lua to make everything work.HEADmaster
Diffstat (limited to 'password-controller.lua')
-rw-r--r-- | password-controller.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/password-controller.lua b/password-controller.lua index 3060e76..9982ada 100644 --- a/password-controller.lua +++ b/password-controller.lua @@ -1,10 +1,8 @@ -- the password controller module (..., package.seeall) -require("controllerfunctions") - default_action = "edit" edit = function (self) - return controllerfunctions.handle_form(self, self.model.read_password, self.model.update_password, self.clientdata, "Save", "Set System Password", "Password Set") + return self.handle_form(self, self.model.read_password, self.model.update_password, self.clientdata, "Save", "Set System Password", "Password Set") end |