api/core: skip turnstile verification if user authed with api key

This commit is contained in:
dumbmoron 2024-10-04 17:37:57 +00:00
parent 3d7713a942
commit 9cc6fd13fa
No known key found for this signature in database

View file

@ -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();
}