mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
PHRAS-212 #fix oauth authorisaton confimation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user