diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-19 12:46:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-19 12:46:20 +0000 |
commit | b729270c2e5135cf1e0063d16df34350af95cdf6 (patch) | |
tree | 63db9f0e2d6bb8c2644fa631408bddd4f98ba710 /app/acf-util/password-controller.lua | |
parent | 8e27cd0b719015f206e4d64355d045ff22ee096f (diff) | |
download | acf-core-b729270c2e5135cf1e0063d16df34350af95cdf6.tar.bz2 acf-core-b729270c2e5135cf1e0063d16df34350af95cdf6.tar.xz |
Updated password to remove redirect_to_referrer and password-html view
Diffstat (limited to 'app/acf-util/password-controller.lua')
-rw-r--r-- | app/acf-util/password-controller.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/acf-util/password-controller.lua b/app/acf-util/password-controller.lua index 336f6f4..5ff8145 100644 --- a/app/acf-util/password-controller.lua +++ b/app/acf-util/password-controller.lua @@ -72,5 +72,9 @@ function newuser(self) end function deleteuser(self) - return self:redirect_to_referrer(self.model.delete_user(self, self.clientdata.userid)) + return self.handle_form(self, function() + return self.model.get_delete_user(self, self.clientdata.userid) + end, function(value) + return self.model.delete_user(self, value) + end, self.clientdata, "Delete", "Delete User", "Deleted user") end |