sync
[Pman.Admin] / Signup.php
index de9080b..d06a711 100644 (file)
@@ -8,7 +8,7 @@ class Pman_Admin_Signup extends Pman
         parent::getAuth(); // load company!
         $au = $this->getAuthUser();
         if (!$au) {
-            $this->jerr("Not authenticated", array('authFailure' => true));
+            $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
         }
         $this->authUser = $au;
         if ($au->company()->comptype != 'OWNER') {
@@ -17,7 +17,7 @@ class Pman_Admin_Signup extends Pman
         return true;
     }
     
-    function post()
+    function post($v)
     {
         
         $si = DB_DataObject::factory('Signup');