Login
The user must autenthicate before using the management dashboard. The default credentials can be used:
- [email protected], with the password secret
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{{ $errors->has('email') ? ' has-danger' : '' }}">
<div class="input-group-prepend">
<div class="input-group-text">
<i class="tim-icons icon-email-85"></i>
</div>
</div>
<input type="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" placeholder="{{ __('Email') }}" value="[email protected]">
@include('alerts.feedback', ['field' => 'email'])
</div>