Add password for auth

This commit is contained in:
Thomas Citharel 2016-02-25 16:06:13 +01:00 committed by Nicolas Lœuillet
parent 8a4690b6a5
commit 5bc2da5628

View File

@ -35,7 +35,7 @@ class DeveloperController extends Controller
$clientForm->handleRequest($request);
if ($clientForm->isValid()) {
$client->setAllowedGrantTypes(array('token', 'authorization_code'));
$client->setAllowedGrantTypes(array('token', 'authorization_code','password'));
$em->persist($client);
$em->flush();