mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
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:
3
sql/updates/auth/2013_02_07_00_auth_account.sql
Normal file
3
sql/updates/auth/2013_02_07_00_auth_account.sql
Normal file
@@ -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