check whether api token is enabled when using an api token

This commit is contained in:
MaysWind
2025-11-03 22:52:15 +08:00
parent b0e01d36ab
commit 03c342f6f6
26 changed files with 162 additions and 143 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ email_verify_token_expired_time = 3600
password_reset_token_expired_time = 3600
# Set to true to enable API token generation
enable_generate_api_token = false
enable_api_token = false
# Maximum count of password / token check failures (0 - 4294967295) per IP per minute (use the above duplicate checker), default is 5, set to 0 to disable
max_failures_per_ip_per_minute = 5