]> git.defcon.no Git - hermes/blobdiff - api/numbers.php
First stab at auth. Flow-changes to make things sort'a work
[hermes] / api / numbers.php
index e9fc796e3881881625425699fadbf1205e609477..7874394a1a98a65a685cffc0552ddcdf93e27658 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 require_once('config.php');
-//require_once('lib/user_functions.php');
+require_once('lib/auth_base.php');
 require_once('lib/common_functions.php');
 require_once('lib/db_functions.php');
 require_once('lib/number_functions.php');
@@ -18,6 +18,8 @@ if ( !$config['sql_link'] )
        exit;
 }
 
+token_auth();
+
 //*************************************************************************************        
        switch ( $_SERVER['PATH_INFO'] )
        {