diff --git a/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php b/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php index 373adfbb54..7d7aec921f 100644 --- a/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php +++ b/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php @@ -185,7 +185,7 @@ final class PhabricatorTOTPAuthFactor extends PhabricatorAuthFactor { public static function generateNewTOTPKey() { - return strtoupper(Filesystem::readRandomCharacters(16)); + return strtoupper(Filesystem::readRandomCharacters(32)); } public static function verifyTOTPCode(