Core/Auth: Add option to extend account name limit to 64 characters

Closes #31903

(cherry picked from commit e185b2f98c42abe7805ea2c70c8cad4d60aaf781)
This commit is contained in:
Shauren
2026-09-22 20:52:16 +02:00
parent 18a641a35f
commit 4ef2576f4d
9 changed files with 31 additions and 7 deletions
+2 -1
View File
@@ -24,7 +24,7 @@ DROP TABLE IF EXISTS `account`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `account` (
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`username` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`salt` binary(32) NOT NULL,
`verifier` binary(32) NOT NULL,
`session_key_auth` binary(40) DEFAULT NULL,
@@ -4436,6 +4436,7 @@ INSERT INTO `updates` VALUES
('2026_09_02_00_auth.sql','3C13B03ECA470F80DA97991678074B95BCA3B03A','ARCHIVED','2026-09-02 10:05:00',0),
('2026_09_09_00_auth.sql','CA28AF19AF741520683121E332ADAB74EB1E8A25','ARCHIVED','2026-09-09 08:23:05',0),
('2026_09_12_00_auth.sql','FF363F9CB0CC1116A2122C5D258C3A625174E516','RELEASED','2026-09-12 22:05:06',0),
('2026_09_14_00_auth.sql','6A6C23E6373F02200883FCA702D152BF73DA4E5F','RELEASED','2026-09-14 16:54:36',0),
('2026_09_19_00_auth.sql','FEC4B9E3FEA7B198D3F70836F50B8A36035603C6','RELEASED','2026-09-19 00:21:00',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;