1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +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())