diff options
Diffstat (limited to 'password-controller.lua')
-rw-r--r-- | password-controller.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/password-controller.lua b/password-controller.lua index 9982ada..f5d668c 100644 --- a/password-controller.lua +++ b/password-controller.lua @@ -1,8 +1,10 @@ -- the password controller -module (..., package.seeall) +local mymodule = {} -default_action = "edit" +mymodule.default_action = "edit" -edit = function (self) +mymodule.edit = function (self) return self.handle_form(self, self.model.read_password, self.model.update_password, self.clientdata, "Save", "Set System Password", "Password Set") end + +return mymodule |