]> git.defcon.no Git - hermes/blobdiff - api/lib/auth.php
First stab at auth. Flow-changes to make things sort'a work
[hermes] / api / lib / auth.php
diff --git a/api/lib/auth.php b/api/lib/auth.php
deleted file mode 100644 (file)
index 2f8f9cf..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-function token_auth( )
-{
-       return true;
-}
-
-if (! token_auth() )
-{
-       print json_encode( array( 'response' => 'failed', 'cause' => 'unauthorized', 'description' => 'Not authorized') );
-       exit;
-}
-?>