diff --git a/src/applications/people/storage/PhabricatorUser.php b/src/applications/people/storage/PhabricatorUser.php index 523a18367d..e60f50650c 100644 --- a/src/applications/people/storage/PhabricatorUser.php +++ b/src/applications/people/storage/PhabricatorUser.php @@ -355,7 +355,8 @@ final class PhabricatorUser // discussion in T3684. $token = $this->getRawCSRFToken(); $hash = PhabricatorHash::digest($token, $salt); - return 'B@'.$salt.substr($hash, 0, self::CSRF_TOKEN_LENGTH); + return self::CSRF_BREACH_PREFIX.$salt.substr( + $hash, 0, self::CSRF_TOKEN_LENGTH); } public function validateCSRFToken($token) {