- Clone repository
git clone https://github.com/fureszpeter/loginTest.git
- Run composer install
composer install
- Create database (MySQL)
- Database name is:
login_test
- You can modify connection parameters in
.env
file
- Database name is:
- Run database migration and seeder
php artisan migrate:fresh --seed
The .env
file is the main configuration file. You need to fill RECAPTCHA_SITE_KEY
and RECAPTCHA_SECRET_KEY
values from Google.
cartalyst.sentinel.php
contains the configuration and can setup how many attempts are allowed with wrong login.
You can change values by:
- IP based,
- user based or
- global based.