1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00

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
This commit is contained in:
P.J. Finlay 2023-10-01 08:07:55 -05:00
parent 9697543666
commit bc10febe9b

View File

@ -979,7 +979,6 @@ def create_app(args):
)
@bp.post("/suggest")
@access_check
def suggest():
"""
Submit a suggestion to improve a translation