Skip to content

Commit

Permalink
Enable REST API by default
Browse files Browse the repository at this point in the history
Fixes #23516
  • Loading branch information
vboctor committed Oct 22, 2017
1 parent d708a4f commit 1a3aec6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config_defaults_inc.php
Expand Up @@ -4773,13 +4773,13 @@
$g_webservice_version_when_not_found = '';

/**
* Whether the REST API (experimental) is enabled or not. Note that this flag only
* Whether the REST API is enabled or not. Note that this flag only
* impacts API Token based auth. Hence, even if the API is disabled, it can still be
* used from the Web UI using cookie based authentication.
*
* @global integer $g_webservice_rest_enabled
*/
$g_webservice_rest_enabled = OFF;
$g_webservice_rest_enabled = ON;

####################
# Issue Activities #
Expand Down
4 changes: 2 additions & 2 deletions docbook/Admin_Guide/en-US/config/api.xml
Expand Up @@ -48,9 +48,9 @@
<term>$g_webservice_rest_enabled</term>
<listitem>
<para>
Whether the REST API (experimental) is enabled or not. Note that this flag only
Whether the REST API is enabled or not. Note that this flag only
impacts API Token based auth. Hence, even if the API is disabled, it can still be
used from the Web UI using cookie based authentication. Default OFF.
used from the Web UI using cookie based authentication. Default ON.
</para>
</listitem>
</varlistentry>
Expand Down

0 comments on commit 1a3aec6

Please sign in to comment.