Override default Auth routes in Laravel >= 5.4

I want to override /login route to /admin/login. In web.php I tried

//Auth::routes();
Route::get('login', ['as' => 'auth.login', 'uses' => '[email protected]'])->name('login');

But it is still showing Laravel default login form. How can I do this?

Answer

For the googlers, here is a full list of routes that are getting generated by Auth::routes(); in Laravel >= 5.4

// Authentication Routes...
Route::get('login', [
  'as' => 'login',
  'uses' => '[email protected]'
]);
Route::post('login', [
  'as' => '',
  'uses' => '[email protected]'
]);
Route::post('logout', [
  'as' => 'logout',
  'uses' => '[email protected]'
]);

// Password Reset Routes...
Route::post('password/email', [
  'as' => 'password.email',
  'uses' => '[email protected]'
]);
Route::get('password/reset', [
  'as' => 'password.request',
  'uses' => '[email protected]'
]);
Route::post('password/reset', [
  'as' => 'password.update',
  'uses' => '[email protected]'
]);
Route::get('password/reset/{token}', [
  'as' => 'password.reset',
  'uses' => '[email protected]'
]);

// Registration Routes...
Route::get('register', [
  'as' => 'register',
  'uses' => '[email protected]'
]);
Route::post('register', [
  'as' => '',
  'uses' => '[email protected]'
]);

php artisan route:list will return

+--------+----------+------------------------+------------------+------------------------------------------------------------------------+--------------+
| Domain | Method   | URI                    | Name             | Action                                                                 | Middleware   |
+--------+----------+------------------------+------------------+------------------------------------------------------------------------+--------------+
|        | GET|HEAD | login                  | login            | [email protected]                | web,guest    |
|        | POST     | login                  |                  | [email protected]                        | web,guest    |
|        | POST     | logout                 | logout           | [email protected]                       | web          |
|        | POST     | password/email         | password.email   | [email protected]l  | web,guest    |
|        | GET|HEAD | password/reset         | password.request | [email protected]rm | web,guest    |
|        | POST     | password/reset         | password.update  | [email protected]                | web,guest    |
|        | GET|HEAD | password/reset/{token} | password.reset   | [email protected]        | web,guest    |
|        | GET|HEAD | register               | register         | [email protected]      | web,guest    |
|        | POST     | register               |                  | [email protected]                  | web,guest    |
+--------+----------+------------------------+------------------+------------------------------------------------------------------------+--------------+