protected function renderErrorPage($title, $messages)
protected function renderErrorPage($title, $messages)
Parameters
$title | ||
array | $messages |
Return
wild |
protected function isFirstTimeSetup()
protected function isFirstTimeSetup()
Returns true if this install is newly setup (i.e., there are no user accounts yet). In this case, we enter a special mode to permit creation of the first account form the web UI.
Return
wild |
protected function loginUser($user, $force_full_session)
protected function loginUser($user, $force_full_session)
Log a user into a web session and return an AphrontResponse which corresponds to continuing the login process.
Normally, this is a redirect to the validation controller which makes sure the user's cookies are set. However, event listeners can intercept this event and do something else if they prefer.
Parameters
PhabricatorUser | $user | User to log the viewer in as. |
bool | $force_full_session | True to issue a full session immediately, bypassing MFA. |
Return
AphrontResponse | Response which continues the login process. |
protected function clearRegistrationCookies()
protected function clearRegistrationCookies()
Return
wild |
private function buildLoginValidateResponse($user)
private function buildLoginValidateResponse($user)
Parameters
PhabricatorUser | $user |
Return
wild |
protected function renderError($message)
protected function renderError($message)
Parameters
$message |
Return
wild |
protected function loadAccountForRegistrationOrLinking($account_key)
protected function loadAccountForRegistrationOrLinking($account_key)
Parameters
$account_key |
Return
wild |
protected function loadInvite()
protected function loadInvite()
Return
wild |
protected function renderInviteHeader($invite)
protected function renderInviteHeader($invite)
Parameters
PhabricatorAuthInvite | $invite |
Return
wild |
final protected function newCustomStartMessage()
final protected function newCustomStartMessage()
Return
wild |