From 0874f88bc25066248c28b16d3bbf1ab5cd1f2611 Mon Sep 17 00:00:00 2001 From: Zach LeBar Date: Wed, 21 Mar 2012 15:06:32 +0000 Subject: 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. --- password-controller.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'password-controller.lua') 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 -- cgit v1.2.3