mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-03 06:37:27 +02:00
Use dummy password (instead of no password at all) in examples
This commit is contained in:
@@ -19,7 +19,7 @@ header('Content-type: text/html; charset=utf-8');
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$db = new PDO('mysql:dbname=php_auth;host=127.0.0.1;charset=utf8mb4', 'root', '');
|
||||
$db = new PDO('mysql:dbname=php_auth;host=127.0.0.1;charset=utf8mb4', 'root', 'monkey');
|
||||
|
||||
$auth = new \Delight\Auth\Auth($db);
|
||||
|
||||
|
Reference in New Issue
Block a user