Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/provider/PhabricatorPasswordAuthProvider.php
Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | $dialog = id(new AphrontDialogView()) | ||||
->setTitle(pht('Register an Account')) | ->setTitle(pht('Register an Account')) | ||||
->appendForm($form) | ->appendForm($form) | ||||
->setSubmitURI('/auth/register/') | ->setSubmitURI('/auth/register/') | ||||
->addSubmitButton(pht('Continue')); | ->addSubmitButton(pht('Continue')); | ||||
return $dialog; | return $dialog; | ||||
} | } | ||||
public function buildLinkForm( | public function buildLinkForm($controller) { | ||||
PhabricatorAuthLinkController $controller) { | |||||
throw new Exception(pht("Password providers can't be linked.")); | throw new Exception(pht("Password providers can't be linked.")); | ||||
} | } | ||||
private function renderPasswordLoginForm( | private function renderPasswordLoginForm( | ||||
AphrontRequest $request, | AphrontRequest $request, | ||||
$require_captcha = false, | $require_captcha = false, | ||||
$captcha_valid = false) { | $captcha_valid = false) { | ||||
▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines |