aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgpcf <gpcf@gpcf.eu>2024-07-27 22:29:34 +0200
committergpcf <gpcf@gpcf.eu>2024-07-27 22:29:34 +0200
commit283709204b3a677b570a674535d830b94e2f3696 (patch)
tree422f070488dd951bd35634822791caa47c9d1a20
parentff9c68c1a46f2f021efe3f8aebcf9094d90639a4 (diff)
downloadxban2-283709204b3a677b570a674535d830b94e2f3696.tar.gz
xban2-283709204b3a677b570a674535d830b94e2f3696.tar.bz2
xban2-283709204b3a677b570a674535d830b94e2f3696.zip
Log passwordless login attempts
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 213778c..29c12fb 100644
--- a/init.lua
+++ b/init.lua
@@ -289,6 +289,7 @@ minetest.register_on_prejoinplayer(function(name, ip)
date, e.reason)
end
if minetest.player_exists(name) and not xban.has_password(name) then
+ ACTION("Passwordless account %s attempted to log in", name)
return "This account has been deactivated. Please, contact the server owner on the forums."
end
if minetest.settings:get("moderate_new_accounts") and not minetest.player_exists(name) then