Project:
RSS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009540New issuesServerpublic2017-01-26 20:182017-02-17 12:54
ReporterCrosRoad95 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platform-OS-OS Version-
Summary0009540: Remove account after login couse login to strange account name
DescriptionaddEventHandler("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.
Attached Files

- Relationships

-  Notes
(0025649)
W (viewer)
2017-01-28 22:30

What is the behaviour you're expecting in this case?
(0025655)
CrosRoad95 (viewer)
2017-01-29 12:29

I want to disable all accounts wichout few, if you logged in not authorized accounts, it will remove
(0025674)
W (viewer)
2017-02-17 12:54

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
2017-01-26 20:18 CrosRoad95 New Issue
2017-01-28 22:30 W Note Added: 0025649
2017-01-29 12:29 CrosRoad95 Note Added: 0025655
2017-02-17 12:54 W Note Added: 0025674


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker