第13课用户注册和登录 - Paulyoufu/larvavel51 GitHub Wiki
路由5个 Route::get('auth/login','Auth\AuthController@getLogin'); Route::post('auth/login','Auth\AuthController@postLogin'); Route::get('auth/register','Auth\AuthController@getRegister'); Route::post('auth/register','Auth\AuthController@postRegister'); Route::get('auth/logout','Auth\AuthController@getLogout'); 先退出 localhost:8000/auth/logout authController extends Controller protechted $redirectPath=‘/articles'