mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2026-06-03 23:09:35 -06:00
Remove CSRF TODO — closed as won't fix in #11
This commit is contained in:
@@ -73,7 +73,6 @@ with app.app_context():
|
||||
|
||||
@app.route('/', methods=['GET', 'POST'])
|
||||
# TODO: No rate limiting — form can be spammed. Add Flask-Limiter (e.g. @limiter.limit("10/minute")).
|
||||
# TODO: No CSRF protection. Add Flask-WTF for CSRF tokens.
|
||||
def index():
|
||||
error = None
|
||||
if request.method == 'POST':
|
||||
|
||||
Reference in New Issue
Block a user