mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-16 20:40:10 +01: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:
parent
9697543666
commit
bc10febe9b
@ -979,7 +979,6 @@ def create_app(args):
|
||||
)
|
||||
|
||||
@bp.post("/suggest")
|
||||
@access_check
|
||||
def suggest():
|
||||
"""
|
||||
Submit a suggestion to improve a translation
|
||||
|
Loading…
Reference in New Issue
Block a user