Login

The user must autenthicate before using the management dashboard. There are 3 credentials by default that can be used:

For logging in, the user can press the Login button in the top navbar or by adding /login to the url.

The App\Http\Controllers\LoginController handles the user's authentication.

If you input the wrong data when trying to authenticate, there are validation rules to check if the email and password are right and if the user has an account (see resources/views/auth/login.blade.php ).


@if ($errors->has('email'))
    <span class="invalid-feedback" style="display: block;" role="alert">
        <strong>{{ $errors->first('email') }}</strong>
    </span>
@endif

@if ($errors->has('password'))
    <span class="invalid-feedback" style="display: block;" role="alert">
        <strong>{{ $errors->first('password') }}</strong>
    </span>
@endif