From 0ffac9c5176ad49e9ad196597bb1d4f80ac9712e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 12 May 2021 12:28:42 +0200 Subject: [PATCH] Use BCrypt costs '9' for MFA backup codes Resolves #4206 --- .../system/user/multifactor/BackupMultifactorMethod.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php b/wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php index b694839710..41e787223d 100644 --- a/wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php +++ b/wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php @@ -60,7 +60,7 @@ final class BackupMultifactorMethod implements IMultifactorMethod public function __construct() { - $this->algorithm = new Bcrypt(); + $this->algorithm = new Bcrypt(9); } /** -- 2.20.1