summaryrefslogtreecommitdiffstats
path: root/openssl-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-model.lua')
-rw-r--r--openssl-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-model.lua b/openssl-model.lua
index 86bc3e7..edafbd7 100644
--- a/openssl-model.lua
+++ b/openssl-model.lua
@@ -489,8 +489,8 @@ mymodule.setreqdefaults = function(self, defaults)
return defaults
end
-mymodule.getnewrequest = function()
- local values = mymodule.getreqdefaults()
+mymodule.getnewrequest = function(self, clientdata)
+ local values = mymodule.getreqdefaults(self, clientdata)
-- In addition to the request defaults, we need a password and confirmation
values.value.password = cfe({ type="password", label="Password", seq=98 })
values.value.password_confirm = cfe({ type="password", label="Password confirmation", seq=99 })