Explorar el Código

Update UserController.class.php

star7th hace 8 años
padre
commit
7d7ae80f82
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      server/Application/Api/Controller/UserController.class.php

+ 2 - 2
server/Application/Api/Controller/UserController.class.php

@@ -26,7 +26,7 @@ class UserController extends BaseController {
                   $this->sendResult(array()); 
 
                 }else{
-                    $this->sendError(10101,L('username_or_password_incorrect'));
+                    $this->sendError(10101,'register fail');
                 }
             }else{
                 $this->sendError(10101,L('username_exists'));
@@ -76,4 +76,4 @@ class UserController extends BaseController {
         
     }
 
-}
+}