1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/src/infrastructure/util
epriestley 55a94d8aba Don't prompt to upgrade unset passwords
Summary:
Fixes T4463. When your VCS or account password is not set, we test it for upgrade anyway. This doesn't make sense and throws shortly into the process because the empty hash isn't parseable.

Instead, only show upgrade prompts when the password exists.

Test Plan:
  - Added a password to an existing account with no password via password reset.
  - Added a VCS password to an existing account with no VCS password.
  - Observed no fatals / nonsense behaviors.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T4463

Differential Revision: https://secure.phabricator.com/D8282
2014-02-20 08:12:04 -08:00
..
__tests__ Allow slugs to contain most utf8 characters 2013-03-03 10:56:33 -08:00
password Don't prompt to upgrade unset passwords 2014-02-20 08:12:04 -08:00
PhabricatorGlobalLock.php Reduce wait_timeout to max. allowed value 2013-04-05 22:42:27 -07:00
PhabricatorHash.php Implementation of VCS passwords against user. 2013-11-01 08:34:11 -07:00
PhabricatorSlug.php Allow slugs to contain most utf8 characters 2013-03-03 10:56:33 -08:00