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:
Chad Little
2013-01-26 16:17:44 -08:00
parent 5cb8787d91
commit 251a7b0602
15 changed files with 199 additions and 174 deletions

View File

@@ -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'),
));
}