Page MenuHomePhabricator

D21012.id50056.diff
No OneTemporary

D21012.id50056.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -4105,7 +4105,7 @@
'PhabricatorPeopleDisableController' => 'applications/people/controller/PhabricatorPeopleDisableController.php',
'PhabricatorPeopleEmailLoginMailEngine' => 'applications/people/mail/PhabricatorPeopleEmailLoginMailEngine.php',
'PhabricatorPeopleEmpowerController' => 'applications/people/controller/PhabricatorPeopleEmpowerController.php',
- 'PhabricatorPeopleExternalIdentifierPHIDType' => 'applications/people/phid/PhabricatorPeopleExternalIdentiferPHIDType.php',
+ 'PhabricatorPeopleExternalIdentifierPHIDType' => 'applications/people/phid/PhabricatorPeopleExternalIdentifierPHIDType.php',
'PhabricatorPeopleExternalPHIDType' => 'applications/people/phid/PhabricatorPeopleExternalPHIDType.php',
'PhabricatorPeopleIconSet' => 'applications/people/icon/PhabricatorPeopleIconSet.php',
'PhabricatorPeopleInviteController' => 'applications/people/controller/PhabricatorPeopleInviteController.php',
diff --git a/src/applications/auth/controller/PhabricatorAuthController.php b/src/applications/auth/controller/PhabricatorAuthController.php
--- a/src/applications/auth/controller/PhabricatorAuthController.php
+++ b/src/applications/auth/controller/PhabricatorAuthController.php
@@ -197,22 +197,6 @@
return array($account, $provider, $response);
}
- $other_account = id(new PhabricatorExternalAccount())->loadAllWhere(
- 'accountType = %s AND accountDomain = %s AND accountID = %s
- AND id != %d',
- $account->getAccountType(),
- $account->getAccountDomain(),
- $account->getAccountID(),
- $account->getID());
-
- if ($other_account) {
- $response = $this->renderError(
- pht(
- 'The account you are attempting to register with already belongs '.
- 'to another user.'));
- return array($account, $provider, $response);
- }
-
$config = $account->getProviderConfig();
if (!$config->getIsEnabled()) {
$response = $this->renderError(

File Metadata

Mime Type
text/plain
Expires
Aug 20 2025, 1:51 AM (9 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8302711
Default Alt Text
D21012.id50056.diff (2 KB)

Event Timeline