summaryrefslogtreecommitdiffstats
path: root/openssl-editconfigfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-editconfigfile-html.lsp')
-rw-r--r--openssl-editconfigfile-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-editconfigfile-html.lsp b/openssl-editconfigfile-html.lsp
index 4626e8d..ab13038 100644
--- a/openssl-editconfigfile-html.lsp
+++ b/openssl-editconfigfile-html.lsp
@@ -9,6 +9,6 @@ local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "fi
func(form, viewlibrary, page_info, session)
%>
-<% if viewlibrary and viewlibrary.dispatch_component and session.permissions.openssl.checkenvironment then
+<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("checkenvironment") then
viewlibrary.dispatch_component("checkenvironment")
end %>