mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +01:00
commit
1cf880ffc6
1 changed files with 12 additions and 3 deletions
|
@ -179,11 +179,11 @@ final class PhabricatorPeopleEditController
|
|||
id(new PhabricatorUserEditor())
|
||||
->setActor($admin)
|
||||
->createNewUser($user, $email);
|
||||
}
|
||||
|
||||
if ($welcome_checked) {
|
||||
$user->sendWelcomeEmail($admin);
|
||||
}
|
||||
}
|
||||
|
||||
$response = id(new AphrontRedirectResponse())
|
||||
->setURI('/people/edit/'.$user->getID().'/?saved=true');
|
||||
|
@ -264,6 +264,15 @@ final class PhabricatorPeopleEditController
|
|||
id(new AphrontFormStaticControl())
|
||||
->setLabel('Email')
|
||||
->setValue($status));
|
||||
|
||||
$form->appendChild(
|
||||
id(new AphrontFormCheckboxControl())
|
||||
->addCheckbox(
|
||||
'welcome',
|
||||
1,
|
||||
'Re-send "Welcome to Phabricator" email.',
|
||||
false));
|
||||
|
||||
}
|
||||
|
||||
$form->appendChild($this->getRoleInstructions());
|
||||
|
|
Loading…
Reference in a new issue