psu_game: Don't delete the user on system_key_auth_request failure! This would be usable as a DOS attack against a specific user.
This commit is contained in:
parent
f4b0b952fc
commit
116ec3201a
@ -128,7 +128,6 @@ process_event({system_key_auth_request, AuthGID, AuthKey}) ->
|
|||||||
?MODULE:char_select();
|
?MODULE:char_select();
|
||||||
_ ->
|
_ ->
|
||||||
log("quit, auth failed"),
|
log("quit, auth failed"),
|
||||||
egs_user_model:delete(AuthGID),
|
|
||||||
ssl:close(CSocket)
|
ssl:close(CSocket)
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user