Enable navigator by default

This commit is contained in:
Romain Neutron
2013-09-09 13:05:55 +02:00
parent 05354ca18b
commit a0dba36e67
2 changed files with 3 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(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);

View File

@@ -243,9 +243,9 @@ $GV = array(
'type' => \registry::TYPE_BOOLEAN,
'name' => 'GV_client_navigator',
'comment' => _('reglages:: Authoriser l\'application smartphone *Phraseanet Navigator* à se connecter sur cette instance'),
'default' => false,
'default' => true,
'required' => true
)
),
)
), array(
'section' => _('GV::section:: Gestionnaire d\'evenements'),