File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/applications/auth/controller Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments