Skip to content

Commit 0f3938f

Browse files
committed
minor tweaks to how registration is layed out (see bug 227753)
1 parent 63c64a5 commit 0f3938f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Diff for: src/applications/auth/controller/PhabricatorAuthRegisterController.php

+4-6
Original file line numberDiff line numberDiff line change
@@ -499,14 +499,12 @@ public function handleRequest(AphrontRequest $request) {
499499
id(new AphrontFormTextControl())
500500
->setLabel(pht('Username'))
501501
->setName('username')
502-
->setValue($value_username)
503-
->setError($e_username));
502+
->setValue($value_username));
504503
} else {
505504
$form->appendChild(
506505
id(new AphrontFormMarkupControl())
507506
->setLabel(pht('Username'))
508-
->setValue('automatically set based on email address')
509-
->setError($e_username));
507+
->setValue('automatically set based on email address'));
510508
}
511509

512510
if ($can_edit_realname) {
@@ -538,10 +536,10 @@ public function handleRequest(AphrontRequest $request) {
538536
if ($can_edit_email) {
539537
$form->appendChild(
540538
id(new AphrontFormTextControl())
541-
->setLabel(pht('Email (public information)'))
539+
->setLabel(pht('Email'))
542540
->setName('email')
543541
->setValue($value_email)
544-
->setCaption(PhabricatorUserEmail::describeAllowedAddresses())
542+
->setCaption(pht('public information'))
545543
->setError($e_email));
546544
}
547545

0 commit comments

Comments
 (0)