mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-01-23 17:52:54 +02:00
Require API key for submitting suggestions
Also removes limiter exemption
This commit is contained in:
parent
56e81856b2
commit
3af4ce16e1
@ -811,7 +811,7 @@ def create_app(args):
|
||||
)
|
||||
|
||||
@app.route("/suggest", methods=["POST"])
|
||||
@limiter.exempt
|
||||
@access_check
|
||||
def suggest():
|
||||
"""
|
||||
Submit a suggestion to improve a translation
|
||||
|
Loading…
x
Reference in New Issue
Block a user