1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Minor, fix OAuth registration, see D2431.

Auditors: btrahan
This commit is contained in:
epriestley 2012-05-09 11:19:06 -07:00
parent b800df8c1b
commit 905cc5ff32

View file

@ -147,7 +147,7 @@ final class PhabricatorOAuthDefaultRegistrationController
$form = new AphrontFormView();
$form
->addHiddenInput('token', $provider->getAccessToken())
->addHiddenInput('confirm_token', $provider->getAccessToken())
->addHiddenInput('expires', $oauth_info->getTokenExpires())
->addHiddenInput('state', $this->getOAuthState())
->setUser($request->getUser())