mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	compatibility old client
This commit is contained in:
		| @@ -16,6 +16,7 @@ class AppController extends Controller | ||||
|     CONST SOCKS_PORT = 10010; | ||||
|     CONST HTTP_PORT = 10011; | ||||
|  | ||||
|     // TODO: 1.1.1 abolish | ||||
|     public function data(Request $request) | ||||
|     { | ||||
|         $user = $request->user; | ||||
|   | ||||
| @@ -10,6 +10,8 @@ class PassportRoute | ||||
|         $router->group([ | ||||
|             'prefix' => 'passport' | ||||
|         ], function ($router) { | ||||
|             // TODO: 1.1.1 abolish | ||||
|             $router->post('/login', 'Passport\\AuthController@login'); | ||||
|             // Auth | ||||
|             $router->post('/auth/register', 'Passport\\AuthController@register'); | ||||
|             $router->post('/auth/login', 'Passport\\AuthController@login'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user