20 lines
376 B
PHP
20 lines
376 B
PHP
<?php
|
|
|
|
return [
|
|
"db" => [
|
|
"host" => "127.0.0.1",
|
|
"port" => 3306,
|
|
"user" => "root",
|
|
"password" => "",
|
|
"name" => "auth_db",
|
|
],
|
|
"rate_limit" => [
|
|
"window_seconds" => 300,
|
|
"max_attempts" => 10,
|
|
],
|
|
"logging" => [
|
|
"dir" => __DIR__ . "/logs",
|
|
"file" => __DIR__ . "/logs/auth.log",
|
|
],
|
|
];
|