diff --git a/src/applications/auth/controller/PhabricatorAuthController.php b/src/applications/auth/controller/PhabricatorAuthController.php index 697d306252..9212c4c49c 100644 --- a/src/applications/auth/controller/PhabricatorAuthController.php +++ b/src/applications/auth/controller/PhabricatorAuthController.php @@ -158,7 +158,7 @@ abstract class PhabricatorAuthController extends PhabricatorController { } if ($account->getUserPHID()) { - if ($account->getUserPHID() != $viewer->getUserPHID()) { + if ($account->getUserPHID() != $viewer->getPHID()) { $response = $this->renderError( pht( 'The account you are attempting to register or link is already '.