set phraseanet navigator to desactivate state by default, make exception handling nicer

This commit is contained in:
Nicolas Le Goff
2012-04-27 19:01:00 +02:00
parent a4f523113f
commit f0b9fc3f20
2 changed files with 15 additions and 3 deletions

View File

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