PHP code example of yudhatp / laravel-check-default-password
1. Go to this page and download the library: Download yudhatp/laravel-check-default-password library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yudhatp / laravel-check-default-password example snippets
'web' => [
...
\Yudhatp\CheckDefaultPassword\Middleware\CheckDefaultPasswordMiddleware::class,
...
],
'user' => 'employee_id'
'redirect' => 'profile'
'passwords' => [
...
'1234',
'123456',
...
]
'except-routes' => [
...
'login',
'logout',
...
]
bash
php artisan vendor:publish --tag=yudhatp-check-default-password-config