View Issue Details

IDProjectCategoryView StatusLast Update
0009540New issuesServerpublic2017-02-17 12:54
ReporterCrosRoad95Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform-OS-OS Version-
Summary0009540: Remove account after login couse login to strange account name
Description

addEventHandler("onPlayerLogin", root,
function(_,konto)
removeAccount(konto)
end)

After i tried to login to my account, "login CrosRoad95 fff"
couse output
ACCOUNTS: Console added account 'CrosRoad95' with password 'fff'
LOGOUT: CrosRoad69 logged out as 'CrosRoad95'
LOGIN: (Everyone) CrosRoad69 successfully logged in as '@s.lua:133' (IP: - Serial: -)
ACL: Denied 'CrosRoad69' access to command 'debugscript'

delaccount @s.lua:133
delaccount: No account with that nick

line 133 is "function(_,konto)"

TagsNo tags attached.

Activities

W

2017-01-28 22:30

viewer   ~~0025649

What is the behaviour you're expecting in this case?

CrosRoad95

2017-01-29 12:29

viewer   ~~0025655

I want to disable all accounts wichout few, if you logged in not authorized accounts, it will remove

W

2017-02-17 12:54

viewer   ~~0025674

While this behaviour is most certainly erroneous (is that some buffer overflow?), your approach is strange too.

Consider removing all accounts once, and just block /register command with ACL.

Rozważ jednorazowe usunięcie wszystkich kont i po prostu zablokuj komendę /register w ACL.

Issue History

Date Modified Username Field Change