From: Tim Düsterhus Date: Fri, 20 Nov 2020 12:39:50 +0000 (+0100) Subject: Use U+2022 to black out backup code trailers X-Git-Tag: 5.4.0_Alpha_1~555^2~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5bba409ad9a6febca0141354a03609f6c2898689;p=GitHub%2FWoltLab%2FWCF.git Use U+2022 to black out backup code trailers --- 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 ce8ba6a07b..05d8fc4b5d 100644 --- a/wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php +++ b/wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php @@ -81,7 +81,7 @@ class BackupMultifactorMethod implements IMultifactorMethod { ]; while (\count($code['chunks']) < self::CHUNKS) { - $code['chunks'][] = \str_repeat('x', self::CHUNK_LENGTH); + $code['chunks'][] = \str_repeat("\xE2\x80\xA2", self::CHUNK_LENGTH); } }