Differential D25002 Diff 39 src/applications/auth/controller/PhabricatorAuthConfirmLinkController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/PhabricatorAuthConfirmLinkController.php
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | $form = id(new PHUIFormLayoutView()) | ||||
->appendChild( | ->appendChild( | ||||
phutil_tag( | phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'class' => 'aphront-form-instructions', | 'class' => 'aphront-form-instructions', | ||||
), | ), | ||||
pht( | pht( | ||||
'Confirm the link with this %s account. This account will be '. | 'Confirm the link with this %s account. This account will be '. | ||||
'able to log in to your Phabricator account.', | 'able to log in to your %s account.', | ||||
$provider->getProviderName()))) | $provider->getProviderName(), | ||||
PhabricatorPlatformSite::getName()))) | |||||
->appendChild( | ->appendChild( | ||||
id(new PhabricatorAuthAccountView()) | id(new PhabricatorAuthAccountView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setExternalAccount($account) | ->setExternalAccount($account) | ||||
->setAuthProvider($provider)); | ->setAuthProvider($provider)); | ||||
$dialog->appendChild($form); | $dialog->appendChild($form); | ||||
Show All 13 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0