File tree 1 file changed +4
-6
lines changed
src/applications/auth/controller
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) {
499
499
id (new AphrontFormTextControl ())
500
500
->setLabel (pht ('Username ' ))
501
501
->setName ('username ' )
502
- ->setValue ($ value_username )
503
- ->setError ($ e_username ));
502
+ ->setValue ($ value_username ));
504
503
} else {
505
504
$ form ->appendChild (
506
505
id (new AphrontFormMarkupControl ())
507
506
->setLabel (pht ('Username ' ))
508
- ->setValue ('automatically set based on email address ' )
509
- ->setError ($ e_username ));
507
+ ->setValue ('automatically set based on email address ' ));
510
508
}
511
509
512
510
if ($ can_edit_realname ) {
@@ -538,10 +536,10 @@ public function handleRequest(AphrontRequest $request) {
538
536
if ($ can_edit_email ) {
539
537
$ form ->appendChild (
540
538
id (new AphrontFormTextControl ())
541
- ->setLabel (pht ('Email (public information) ' ))
539
+ ->setLabel (pht ('Email ' ))
542
540
->setName ('email ' )
543
541
->setValue ($ value_email )
544
- ->setCaption (PhabricatorUserEmail:: describeAllowedAddresses ( ))
542
+ ->setCaption (pht ( ' public information ' ))
545
543
->setError ($ e_email ));
546
544
}
547
545
You can’t perform that action at this time.
0 commit comments