From bc10febe9b7fa6c942c7791a136b6c9a618551aa Mon Sep 17 00:00:00 2001 From: "P.J. Finlay" Date: Sun, 1 Oct 2023 08:07:55 -0500 Subject: [PATCH] Don't require API key for suggestions Remove the access check when a user submits a suggestion. This allows submitting translation suggestions without an API key or secret. https://github.com/LibreTranslate/LibreTranslate/issues/490 --- libretranslate/app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libretranslate/app.py b/libretranslate/app.py index cd9cfe0..a5a77a8 100644 --- a/libretranslate/app.py +++ b/libretranslate/app.py @@ -979,7 +979,6 @@ def create_app(args): ) @bp.post("/suggest") - @access_check def suggest(): """ Submit a suggestion to improve a translation