Differential D21875 Diff 52184 src/applications/auth/controller/PhabricatorAuthSetExternalController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/PhabricatorAuthSetExternalController.php
Show All 34 Lines | if (!$linkable) { | ||||
'Currently, there are no configured external auth providers '. | 'Currently, there are no configured external auth providers '. | ||||
'which you can link your account to.')) | 'which you can link your account to.')) | ||||
->addCancelButton('/'); | ->addCancelButton('/'); | ||||
} | } | ||||
$text = PhabricatorAuthMessage::loadMessageText( | $text = PhabricatorAuthMessage::loadMessageText( | ||||
$viewer, | $viewer, | ||||
PhabricatorAuthLinkMessageType::MESSAGEKEY); | PhabricatorAuthLinkMessageType::MESSAGEKEY); | ||||
if (!strlen($text)) { | if (!phutil_nonempty_string($text)) { | ||||
$text = pht( | $text = pht( | ||||
'You can link your %s account to an external account to '. | 'You can link your %s account to an external account to '. | ||||
'allow you to log in more easily in the future. To continue, choose '. | 'allow you to log in more easily in the future. To continue, choose '. | ||||
'an account to link below. If you prefer not to link your account, '. | 'an account to link below. If you prefer not to link your account, '. | ||||
'you can skip this step.', | 'you can skip this step.', | ||||
PlatformSymbols::getPlatformServerName()); | PlatformSymbols::getPlatformServerName()); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |