summaryrefslogtreecommitdiffstats
path: root/password-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'password-controller.lua')
-rw-r--r--password-controller.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/password-controller.lua b/password-controller.lua
index 727cf77..30a6f07 100644
--- a/password-controller.lua
+++ b/password-controller.lua
@@ -21,14 +21,6 @@ mvc.on_load = function(self, parent)
end
-
--- Public methods
-
-read = function (self)
- return ({ password = self.model:get()} )
-end
-
-
-update = function (self)
+update = function (self,self.sessionid.userid)
return ( {report = self.model:set() })
end