summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/server.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2016-05-19 12:34:40 +0000
committerramon <ramongomez@us.es>2016-05-19 12:34:40 +0000
commitfe5b8d27d359fd382a3593d4be00429097744f9e (patch)
tree98c69ef8733bf193f3b99bed1dff367c74d5410e /admin/WebConsole/rest/server.php
parent5777216a612999c1af23be897ec2b3c846f9bd31 (diff)
#708: Obtener lista de OUs sin necesidad de validaciĆ³n (para presentarlas en el formulario de login).
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4942 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/server.php')
-rw-r--r--admin/WebConsole/rest/server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/server.php b/admin/WebConsole/rest/server.php
index e762cbda..e051821a 100644
--- a/admin/WebConsole/rest/server.php
+++ b/admin/WebConsole/rest/server.php
@@ -220,7 +220,7 @@ $app->post('/login',
* @param no
* @return JSON array with id. and name for every defined OU
*/
-$app->get('/ous', 'validateApiKey', function() {
+$app->get('/ous', function() {
global $cmd;
$cmd->texto = "SELECT * FROM centros";