[FreeBSD] Inform users of username

This commit is contained in:
Eitan Adler 2018-04-24 17:08:18 -07:00 committed by Minsoo Choo
parent ba8fdae6df
commit 129a4fd436
Signed by: minsoochoo
GPG key ID: 067C0F6A7D0BDDE3

View file

@ -546,7 +546,7 @@ final class PhabricatorAuthRegisterController
$form->appendChild( $form->appendChild(
id(new AphrontFormMarkupControl()) id(new AphrontFormMarkupControl())
->setLabel(pht('Username')) ->setLabel(pht('Username'))
->setValue($value_username) ->setValue('automatically set based on email address')
->setError($e_username)); ->setError($e_username));
} }
@ -579,7 +579,7 @@ final class PhabricatorAuthRegisterController
if ($can_edit_email) { if ($can_edit_email) {
$form->appendChild( $form->appendChild(
id(new AphrontFormTextControl()) id(new AphrontFormTextControl())
->setLabel(pht('Email')) ->setLabel(pht('Email (public information)'))
->setName('email') ->setName('email')
->setValue($value_email) ->setValue($value_email)
->setCaption(PhabricatorUserEmail::describeAllowedAddresses()) ->setCaption(PhabricatorUserEmail::describeAllowedAddresses())