summaryrefslogtreecommitdiffstats
path: root/openssh-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'openssh-controller.lua')
-rw-r--r--openssh-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssh-controller.lua b/openssh-controller.lua
index 9e2f866..47c6766 100644
--- a/openssh-controller.lua
+++ b/openssh-controller.lua
@@ -31,7 +31,7 @@ function listauth(self)
end
function deleteauth(self)
- return self:redirect_to_referrer(self.model.delete_auth(self.clientdata.user, self.clientdata.auth))
+ return self.handle_form(self, self.model.get_delete_auth, self.model.delete_auth, self.clientdata, "Delete", "Delete Authorized Key", "Key Deleted")
end
function addauth(self)