Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/provider/PhabricatorPasswordAuthProvider.php
| Show First 20 Lines • Show All 312 Lines • ▼ Show 20 Lines | if ($request->isFormPost()) { | ||||
| } | } | ||||
| } | } | ||||
| if (!$account) { | if (!$account) { | ||||
| if ($request->isFormPost()) { | if ($request->isFormPost()) { | ||||
| $log = PhabricatorUserLog::initializeNewLog( | $log = PhabricatorUserLog::initializeNewLog( | ||||
| null, | null, | ||||
| $log_user ? $log_user->getPHID() : null, | $log_user ? $log_user->getPHID() : null, | ||||
| PhabricatorUserLog::ACTION_LOGIN_FAILURE); | PhabricatorLoginFailureUserLogType::LOGTYPE); | ||||
| $log->save(); | $log->save(); | ||||
| } | } | ||||
| $request->clearCookie(PhabricatorCookies::COOKIE_USERNAME); | $request->clearCookie(PhabricatorCookies::COOKIE_USERNAME); | ||||
| $response = $controller->buildProviderPageResponse( | $response = $controller->buildProviderPageResponse( | ||||
| $this, | $this, | ||||
| $this->renderPasswordLoginForm( | $this->renderPasswordLoginForm( | ||||
| ▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines | |||||