Template/Update (Part 46 - IV)

* account management rework: Personal Settings functionality
 * email, password, username update
 * email updates now also mails the old address for confirmation
This commit is contained in:
Sarjuuk
2025-08-28 17:55:08 +02:00
parent 8fadce88ad
commit 258ac19f0a
36 changed files with 628 additions and 15 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE `aowow_account`
ADD COLUMN `renameCooldown` int unsigned NOT NULL DEFAULT 0 COMMENT 'timestamp when rename is available again' AFTER `updateValue`;

View File

@@ -0,0 +1,2 @@
DELETE FROM `aowow_config` WHERE `key` = 'acc_rename_decay';
INSERT INTO `aowow_config` VALUES ('acc_rename_decay', 30 * 24 * 60 * 60, '30 * 24 * 60 * 60', 3, 129, 'delay between username changes');