summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf-util/password-html.lsp')
-rwxr-xr-xapp/acf-util/password-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/acf-util/password-html.lsp b/app/acf-util/password-html.lsp
index 9de2d4f..8b6d563 100755
--- a/app/acf-util/password-html.lsp
+++ b/app/acf-util/password-html.lsp
@@ -1,4 +1,4 @@
-<? local form = ... ?>
+<? local form, viewlibrary, pageinfo = ... ?>
<? require("viewfunctions") ?>
<?
--[[ DEBUG INFORMATION
@@ -18,7 +18,7 @@ io.write("</span>")
form.value.password_confirm.type = "password"
end
-- If not in newuser action, disable userid
- if nil == string.find(ENV["PATH_INFO"], "/newuser") then
+ if pageinfo.action ~= "newuser" then
form.value.userid.contenteditable = false
end
local order = { "userid", "username", "roles", "password", "password_confirm" }