mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 17:54:55 +02:00
feat: Resend Email Verify
+ rework the whole concept, based on new table for email hashes This make it possible that every email will work, not matter if first or last
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SET @myaac_database_version = 45;
|
||||
SET @myaac_database_version = 46;
|
||||
|
||||
CREATE TABLE `myaac_account_actions`
|
||||
(
|
||||
@@ -10,6 +10,15 @@ CREATE TABLE `myaac_account_actions`
|
||||
KEY (`account_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8mb4;
|
||||
|
||||
CREATE TABLE `myaac_account_emails_verify`
|
||||
(
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`account_id` int NOT NULL,
|
||||
`hash` varchar(32) NOT NULL,
|
||||
`sent_at` int NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8mb4;
|
||||
|
||||
CREATE TABLE `myaac_admin_menu`
|
||||
(
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
|
Reference in New Issue
Block a user