I'm making a site with laravel that has a CRUD functie for Users and posts. That part is completed. After that I made a register function, that also worked.
But when I tried to make a Login page some is wrong. As soon as I select the, "login"-button a error page shows up with the error: Class 'Auth' not found
My UserController:
<?php
class UserController extends BaseController {
protected $layout = "layouts.main";
/**
* Display a listing of the resource. …Run Code Online (Sandbox Code Playgroud)