Browse Source

fix forget

Tokumeikoi 5 years ago
parent
commit
540b331f16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Routes/PassportRoute.php

+ 1 - 1
app/Http/Routes/PassportRoute.php

@@ -15,7 +15,7 @@ class PassportRoute
             $router->post('/auth/login', 'Passport\\AuthController@login');
             $router->get ('/auth/token2Login', 'Passport\\AuthController@token2Login');
             $router->get ('/auth/check', 'Passport\\AuthController@check');
-            $router->post('/auth/forget', 'Passport\\AuthController@index');
+            $router->post('/auth/forget', 'Passport\\AuthController@forget');
             // Comm
             $router->get ('/comm/config', 'Passport\\CommController@config');
             $router->post('/comm/sendEmailVerify', 'Passport\\CommController@sendEmailVerify');