From ae879118f79612ed5ded5c52fa695f7074b4c461 Mon Sep 17 00:00:00 2001 From: paulr Date: Fri, 3 Dec 2010 15:02:09 +1100 Subject: [PATCH] lots of little auth changes... going from proof of concept to real deal --- authserver/authuser.php | 33 --------------------------------- authserver/usercmd.php | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 authserver/authuser.php create mode 100644 authserver/usercmd.php diff --git a/authserver/authuser.php b/authserver/authuser.php deleted file mode 100644 index f6ff83c..0000000 --- a/authserver/authuser.php +++ /dev/null @@ -1,33 +0,0 @@ -authUser($argv[2], $argv[3])==1) { - echo "Pass!"; - } else { - echo "Fail!"; - } - break; - case "add": - $myAC->addUser($argv[2]); - break; -} -?> \ No newline at end of file diff --git a/authserver/usercmd.php b/authserver/usercmd.php new file mode 100644 index 0000000..f6ff83c --- /dev/null +++ b/authserver/usercmd.php @@ -0,0 +1,33 @@ +authUser($argv[2], $argv[3])==1) { + echo "Pass!"; + } else { + echo "Fail!"; + } + break; + case "add": + $myAC->addUser($argv[2]); + break; +} +?> \ No newline at end of file -- 1.7.0.4