Code Guide 2018/10/16

Authentication

Authentication configuration is in /config/auth.php.

Authentication for the administration panel uses the Laravel default authentication (guard web, provider users, table users), and the Admin middleware which comes with the administration package from Laravel Backpack.

To let front-end users have independent access, a guard front-end has been set up, as well as a front-end provider, frontend_users table and applying the Frontend middleware.

The authentication logic for front-end users is located at /app/Http/Controllers/Auth.