mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
2 lines
234 B
SQL
2 lines
234 B
SQL
ALTER TABLE `realmd`.`account` CHANGE `password` `I` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'authentification hash';
|
|
UPDATE `realmd`.`account` SET `I`=SHA1(CONCAT(UPPER(`username`),':',UPPER(`I`)));
|