Login

The user must autenthicate before using the management dashboard. The default credentials can be used:

For logging in, the user can press the Login button in the top navbar.

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 ).


<div class="input-group">
    <div class="input-group-prepend">
        <span class="input-group-text">
            <i class="nc-icon nc-single-02"></i>
        </span>
    </div>
    <input class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}" type="email" name="email" value="{{ old('email') ?? '[email protected]' }}" required autofocus>
    
    @if ($errors->has('email'))
        <span class="invalid-feedback" style="display: block;" role="alert">
            <strong>{{ $errors->first('email') }}</strong>
        </span>
    @endif
</div>