Making your authentication pages
Laravel 5.2 has made this even easier. You can read https://laravel.com/docs/5.2/authentication#authentication-quickstart and you will have all our files, routes and so on. We are just going to make sure it fits in well with our theme and shows the errors as expected.
How to do it…
- Following the instructions in the Laravel documentation, we have to run:
>php artisan make:auth
- Then it will output all this info; these are the files we are going to start checking on:
- Then we go to our
resources/views/auth/login.blade.phpBlade file and change the
@extends('layouts.app')on the top to
"@extends('layout')"—the one we made. ...