Page MenuHomePhabricator

D19792.id47260.diff
No OneTemporary

D19792.id47260.diff

diff --git a/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php b/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
--- a/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
+++ b/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
@@ -185,7 +185,7 @@
public static function generateNewTOTPKey() {
- return strtoupper(Filesystem::readRandomCharacters(16));
+ return strtoupper(Filesystem::readRandomCharacters(32));
}
public static function verifyTOTPCode(

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 10, 11:42 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7434863
Default Alt Text
D19792.id47260.diff (510 B)

Event Timeline