summaryrefslogtreecommitdiffstats
path: root/password-controller.lua
blob: f5d668c34067e84918e280c68d52693e37796532 (plain)
1
2
3
4
5
6
7
8
9
10
-- the password controller
local mymodule = {}

mymodule.default_action = "edit"

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