diff options
author | gpcf <gpcf@gpcf.eu> | 2024-07-27 22:29:34 +0200 |
---|---|---|
committer | gpcf <gpcf@gpcf.eu> | 2024-07-27 22:29:34 +0200 |
commit | 283709204b3a677b570a674535d830b94e2f3696 (patch) | |
tree | 422f070488dd951bd35634822791caa47c9d1a20 | |
parent | ff9c68c1a46f2f021efe3f8aebcf9094d90639a4 (diff) | |
download | xban2-283709204b3a677b570a674535d830b94e2f3696.tar.gz xban2-283709204b3a677b570a674535d830b94e2f3696.tar.bz2 xban2-283709204b3a677b570a674535d830b94e2f3696.zip |
Log passwordless login attempts
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |