compatibility old client

This commit is contained in:
Tokumeikoi
2020-02-15 23:04:50 +08:00
parent 9d9866689d
commit 0a58930619
2 changed files with 3 additions and 0 deletions

View File

@ -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');