PHRAS-212 #fix oauth authorisaton confimation

This commit is contained in:
Nicolas Le Goff
2014-07-23 15:00:21 +02:00
parent b4141f92a7
commit 2dc08a5329

View File

@@ -90,9 +90,9 @@ class Oauth2 implements ControllerProviderInterface
}
$app['authentication']->openAccount(\User_Adapter::getInstance($usr_id, $app));
} else {
return new Response($app['twig']->render($template, array("auth" => $oauth2_adapter)));
}
return new Response($app['twig']->render($template, array("auth" => $oauth2_adapter)));
}
//check if current client is already authorized by current user