mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-23 15:30:36 -04: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"])
|
@app.route("/suggest", methods=["POST"])
|
||||||
@limiter.exempt
|
@access_check
|
||||||
def suggest():
|
def suggest():
|
||||||
"""
|
"""
|
||||||
Submit a suggestion to improve a translation
|
Submit a suggestion to improve a translation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user