Core/Accounts: sessionkey field in account table is only a temporary storage to pass data from authserver to worldserver and should only be used as such. Clearing sessionkey from database after a successful login to prevent possible exploits.
This commit is contained in:
1 parent
5b45a87da5
commit
fb43a92cc2
6 files changed
+28
-24
No files matched your search
@@ -0,0 +1,3 @@
|
||||
UPDATE `account` SET `sessionkey`='';
|
||||
ALTER TABLE `account`
|
||||
CHANGE `sessionkey` `sessionkey` varchar(80) NOT NULL DEFAULT '' COMMENT 'Temporary storage of session key used to pass data from authserver to worldserver' AFTER `sha_pass_hash`;
|
||||
Reference in new issue
Block a user