From: Alexander Ebert Date: Thu, 24 Sep 2020 10:13:50 +0000 (+0200) Subject: Defaulting the user password to `invalid:` X-Git-Tag: 5.3.0_Beta_1~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=622bdbfe143bab57ff4d34c7444c69e46da6c992;p=GitHub%2FWoltLab%2FWCF.git Defaulting the user password to `invalid:` --- diff --git a/com.woltlab.wcf/files_pre.tar b/com.woltlab.wcf/files_pre.tar index cd6844b6c7..94d3c22c98 100644 Binary files a/com.woltlab.wcf/files_pre.tar and b/com.woltlab.wcf/files_pre.tar differ diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3.php index 57bfec0eb9..88a7145826 100644 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3.php +++ b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3.php @@ -55,7 +55,7 @@ $tables = [ CharDatabaseTableColumn::create('emailConfirmed') ->length(40), NotNullVarchar255DatabaseTableColumn::create('password') - ->defaultValue(''), + ->defaultValue('invalid:'), ]) ->indices([ DatabaseTableIndex::create('username') diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index c8de62e6ac..30808a3102 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1455,7 +1455,7 @@ CREATE TABLE wcf1_user ( userID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, username VARCHAR(100) NOT NULL DEFAULT '', email VARCHAR(191) NOT NULL DEFAULT '', - password VARCHAR(255) NOT NULL DEFAULT '', + password VARCHAR(255) NOT NULL DEFAULT 'invalid:', accessToken CHAR(40) NOT NULL DEFAULT '', languageID INT(10) NOT NULL DEFAULT 0, registrationDate INT(10) NOT NULL DEFAULT 0,