update deafults

This commit is contained in:
OusmBlueNinja
2025-07-28 02:00:29 -05:00
parent a161c23f73
commit d271f30857
2 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
{
"token_algorithm": "secure_random",
"rate_limit_per_minute": 30,
"token_expiry_seconds": 300
}
"token_mode": "crypto", // "crypto" or "rand"
"expire_seconds": 3600, // How long a session token is valid
"max_requests_per_minute": 120
}

View File

@@ -14,12 +14,12 @@ against bots, forgery, and unauthorized access.
## 🔧 Configuration
Edit the file: `../plugins/SessionGuard/Config.json`
Edit the file: `./plugins/SessionGuard/Config.json`
```json
{
"token_mode": "crypto", // "crypto" or "random"
"token_length": 32, // Number of characters in token
"expire_seconds": 3600, // How long a session token is valid
"token_mode": "crypto", // "crypto" or "rand"
"expire_seconds": 3600, // How long a session token is valid
"max_requests_per_minute": 120
}
```