Reasonable pht pass at auth.
Summary: Spent some time going through auth stuff for pht's. Test Plan: Tested logging in, logging out, reseting password, using Github, creating a new account. I couldn't quite test everything so will double read the diff when I submit it. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4671
This commit is contained in:
@@ -15,13 +15,14 @@ final class PhabricatorDisabledUserController
|
||||
}
|
||||
|
||||
$failure_view = new AphrontRequestFailureView();
|
||||
$failure_view->setHeader('Account Disabled');
|
||||
$failure_view->appendChild('<p>Your account has been disabled.</p>');
|
||||
$failure_view->setHeader(pht('Account Disabled'));
|
||||
$failure_view->appendChild(
|
||||
'<p>'.pht('Your account has been disabled.').'</p>');
|
||||
|
||||
return $this->buildStandardPageResponse(
|
||||
$failure_view,
|
||||
array(
|
||||
'title' => 'Account Disabled',
|
||||
'title' => pht('Account Disabled'),
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user