summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua b/Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua
index c19bfbdf81f..dcb48fb356a 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/util-sql-logins.lua
@@ -211,10 +211,9 @@ end
logins.userpurge = userpurge
local function verdict(okay,...)
--- if not trace_logins then
--- -- no tracing
--- else
- if okay then
+ if not trace_logins then
+ -- no tracing
+ elseif okay then
report_logins("%s, granted",formatter(...))
else
report_logins("%s, blocked",formatter(...))
@@ -245,11 +244,6 @@ function logins.userpermitted(db,name)
}
end
if not data or not data.name then
- if not data then
- report_logins("no user data for %a",name)
- else
- report_logins("no name entry for %a",name)
- end
local d = {
name = name,
state = 0,