update deafults
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user