mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
Enable navigator by default
This commit is contained in:
@@ -60,7 +60,7 @@ class patch_370a3 implements patchInterface
|
|||||||
} catch (\Exception_NotFound $e) {
|
} catch (\Exception_NotFound $e) {
|
||||||
$client = \API_OAuth2_Application::create($appbox, null, \API_OAuth2_Application_Navigator::CLIENT_NAME);
|
$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_grant_password(true);
|
||||||
$client->set_website("http://www.phraseanet.com");
|
$client->set_website("http://www.phraseanet.com");
|
||||||
$client->set_client_id(\API_OAuth2_Application_Navigator::CLIENT_ID);
|
$client->set_client_id(\API_OAuth2_Application_Navigator::CLIENT_ID);
|
||||||
|
@@ -243,9 +243,9 @@ $GV = array(
|
|||||||
'type' => \registry::TYPE_BOOLEAN,
|
'type' => \registry::TYPE_BOOLEAN,
|
||||||
'name' => 'GV_client_navigator',
|
'name' => 'GV_client_navigator',
|
||||||
'comment' => _('reglages:: Authoriser l\'application smartphone *Phraseanet Navigator* à se connecter sur cette instance'),
|
'comment' => _('reglages:: Authoriser l\'application smartphone *Phraseanet Navigator* à se connecter sur cette instance'),
|
||||||
'default' => false,
|
'default' => true,
|
||||||
'required' => true
|
'required' => true
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
), array(
|
), array(
|
||||||
'section' => _('GV::section:: Gestionnaire d\'evenements'),
|
'section' => _('GV::section:: Gestionnaire d\'evenements'),
|
||||||
|
Reference in New Issue
Block a user