Login
The user must log in to be able to acces the dashboard and all the other pages. There is a username and a password provided for logging in:
username: [email protected]
password: secret
The credentials must match with already existing ones, otherwise the user should create an account or reset the password.
The App\Http\Controllers\LoginController
handles authenticating users and redirecting them to the home screen.
class LoginController extends Controller
{
use AuthenticatesUsers;
protected $redirectTo = RouteServiceProvider::HOME;
public function __construct()
{
$this->$middleware('guest')->except('logout');
}
}