summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf-util/password-controller.lua')
-rwxr-xr-xapp/acf-util/password-controller.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/acf-util/password-controller.lua b/app/acf-util/password-controller.lua
index 1d3aa7a..809e766 100755
--- a/app/acf-util/password-controller.lua
+++ b/app/acf-util/password-controller.lua
@@ -29,15 +29,6 @@ function edituser(self)
if self.clientdata.password == "" then self.clientdata.password = nil end
if self.clientdata.password_confirm == "" then self.clientdata.password_confirm = nil end
- -- FIXME this is because multi selects don't work in haserl
- if self.clientdata.roles then
- local newroles = {}
- for x,role in pairs(self.clientdata.roles) do
- newroles[#newroles + 1] = role
- end
- self.clientdata.roles = newroles
- end
-
-- Update userinfo
local output = self.model.update_user(self, self.clientdata, false)
@@ -51,15 +42,6 @@ function edituser(self)
end
function newuser(self)
- -- FIXME this is because multi selects don't work in haserl
- if self.clientdata.roles then
- local newroles = {}
- for x,role in pairs(self.clientdata.roles) do
- newroles[#newroles + 1] = role
- end
- self.clientdata.roles = newroles
- end
-
-- Update userinfo
local output = self.model.update_user(self, self.clientdata, true)