Use U+2022 to black out backup code trailers
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 20 Nov 2020 12:39:50 +0000 (13:39 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 20 Nov 2020 12:39:50 +0000 (13:39 +0100)
wcfsetup/install/files/lib/system/user/multifactor/BackupMultifactorMethod.class.php

index ce8ba6a07b1d8c183697040205d6bdab20d914a9..05d8fc4b5d3dcf00b8e2baa4374c96c8e0675e01 100644 (file)
@@ -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);
                                        }
                                }