@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove "passwordHash" and "passwordSalt" from User objects

Summary:
Ref T13043. After D18903, this data has migrated to shared infrastructure and has no remaining readers or writers.

Just delete it now, since the cost of a mistake here is very small (users need to "Forgot Password?" and pick a new password).

Test Plan: Grepped for `passwordHash`, `passwordSalt`, and variations.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13043

Differential Revision: https://secure.phabricator.com/D18904

+5 -4
+5
resources/sql/autopatches/20180121.auth.05.accountnuke.sql
··· 1 + ALTER TABLE {$NAMESPACE}_user.user 2 + DROP passwordSalt; 3 + 4 + ALTER TABLE {$NAMESPACE}_user.user 5 + DROP passwordHash;
-4
src/applications/people/storage/PhabricatorUser.php
··· 29 29 30 30 protected $userName; 31 31 protected $realName; 32 - protected $passwordSalt; 33 - protected $passwordHash; 34 32 protected $profileImagePHID; 35 33 protected $defaultProfileImagePHID; 36 34 protected $defaultProfileImageVersion; ··· 217 215 self::CONFIG_COLUMN_SCHEMA => array( 218 216 'userName' => 'sort64', 219 217 'realName' => 'text128', 220 - 'passwordSalt' => 'text32?', 221 - 'passwordHash' => 'text128?', 222 218 'profileImagePHID' => 'phid?', 223 219 'conduitCertificate' => 'text255', 224 220 'isSystemAgent' => 'bool',