Skip to content

Commit 25caa5b

Browse files
committed
Add none type
1 parent 6c99299 commit 25caa5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ALTER TABLE `sys_user` ADD `otp_type` SET('email') NOT NULL DEFAULT 'email' AFTER `otp_enabled`, ADD `otp_data` VARCHAR(255) NULL AFTER `otp_type`, ADD `otp_recovery` VARCHAR(64) NULL AFTER `otp_data`, ADD `otp_attempts` TINYINT NOT NULL DEFAULT '0' AFTER `otp_recovery`;
1+
ALTER TABLE `sys_user` ADD `otp_type` SET('none', 'email') NOT NULL DEFAULT 'none' AFTER `otp_enabled`, ADD `otp_data` VARCHAR(255) NULL AFTER `otp_type`, ADD `otp_recovery` VARCHAR(64) NULL AFTER `otp_data`, ADD `otp_attempts` TINYINT NOT NULL DEFAULT '0' AFTER `otp_recovery`;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ CREATE TABLE `sys_user` (
18421842
`lost_password_function` tinyint(1) NOT NULL default '1',
18431843
`lost_password_hash` VARCHAR(50) NOT NULL default '',
18441844
`lost_password_reqtime` DATETIME NULL default NULL,
1845-
`otp_type` set('email') NOT NULL DEFAULT 'email',
1845+
`otp_type` set('none', 'email') NOT NULL DEFAULT 'none',
18461846
`otp_data` varchar(255) DEFAULT NULL,
18471847
`otp_recovery` varchar(64) DEFAULT NULL,
18481848
`otp_attempts` tinyint(4) NOT NULL DEFAULT 0,

0 commit comments

Comments
 (0)