diff options
-rw-r--r-- | heimdal-kinit-html.lsp | 11 | ||||
-rw-r--r-- | heimdal-model.lua | 4 |
2 files changed, 2 insertions, 13 deletions
diff --git a/heimdal-kinit-html.lsp b/heimdal-kinit-html.lsp deleted file mode 100644 index 15edc19..0000000 --- a/heimdal-kinit-html.lsp +++ /dev/null @@ -1,11 +0,0 @@ -<% local form, viewlibrary, page_info = ... -require("htmlviewfunctions") -html = require("acf.html") -%> - -<H1><%= html.html_escape(form.label) %></H1> -<% - form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - form.value.password.type = "password" - htmlviewfunctions.displayform(form) -%> diff --git a/heimdal-model.lua b/heimdal-model.lua index abf3745..c0402df 100644 --- a/heimdal-model.lua +++ b/heimdal-model.lua @@ -42,8 +42,8 @@ end function get_kinit() local value = {} - value.login = cfe({ label="KDC login" }) - value.password = cfe({ label="KDC password" }) + value.login = cfe({ label="KDC login", seq=1 }) + value.password = cfe({ type="password", label="KDC password", seq=2 }) return cfe({ type="group", value=value, label="Kinit Parameters" }) end |