api/core: skip turnstile verification if user authed with api key
This commit is contained in:
parent
3d7713a942
commit
9cc6fd13fa
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ export const runAPI = (express, app, __dirname) => {
|
|||
});
|
||||
|
||||
app.post('/', (req, res, next) => {
|
||||
if (!env.sessionEnabled) {
|
||||
if (!env.sessionEnabled || req.rateLimitKey) {
|
||||
return next();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue