mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
compatibility old client
This commit is contained in:
parent
9d9866689d
commit
0a58930619
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user