[FreeBSD] Add a note for activating account

This commit is contained in:
Li-Wen Hsu 2019-09-11 10:53:34 +00:00 committed by Eitan Adler
parent d9549a7da3
commit 371ab86e7b

View file

@ -624,6 +624,15 @@ final class PhabricatorAuthRegisterController
'authentication mechanisms later on.'));
}
$freebsd_view = id(new PHUIInfoView())
->setSeverity(PHUIInfoView::SEVERITY_NOTICE)
->setTitle(pht('Note to new registration'))
->appendChild(
pht(
'Due to spam, after creating new account, please sent an email to '.
'<phabric-admin AT FreeBSD.org> with your email address and '.
'briefly describe your plan to get your account activated.'));
$object_box = id(new PHUIObjectBoxView())
->setForm($form)
->setFormErrors($errors);
@ -641,6 +650,7 @@ final class PhabricatorAuthRegisterController
->setFooter(
array(
$welcome_view,
$freebsd_view,
$invite_header,
$object_box,
));