Commit db8785ef authored by Ted Trask's avatar Ted Trask

Fix bug where deleting blank user deletes all users

parent bc11f9d1
......@@ -675,7 +675,7 @@ end
mymodule.set_delete_user = function(self, deleterequest)
local result = ""
local success = true
if not deleterequest.value.username.value == "" then
if deleterequest.value.username.value == "" then
deleterequest.value.username.errtxt = "User does not exist"
success = false
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment