Enable navigator by default

This commit is contained in:
Romain Neutron
2013-09-09 13:05:55 +02:00
parent 4e9693e749
commit d2947d8fbc
2 changed files with 11 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ class patch_370a3 implements patchInterface
} catch (NotFoundHttpException $e) {
$client = \API_OAuth2_Application::create($app, null, \API_OAuth2_Application_Navigator::CLIENT_NAME);
$client->set_activated(false);
$client->set_activated(true);
$client->set_grant_password(true);
$client->set_website("http://www.phraseanet.com");
$client->set_client_id(\API_OAuth2_Application_Navigator::CLIENT_ID);