Skip to content
Snippets Groups Projects
Verified Commit 6957cded authored by nd's avatar nd
Browse files

remove print

parent 3f3a41d4
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,6 @@ def csrf_protect(blueprint=None, endpoint=None): ...@@ -32,7 +32,6 @@ def csrf_protect(blueprint=None, endpoint=None):
@bp.app_url_defaults @bp.app_url_defaults
def csrf_inject(endpoint, values): def csrf_inject(endpoint, values):
print(endpoint, csrfEndpoints, endpoint not in csrfEndpoints)
if endpoint not in csrfEndpoints or not session.get('_csrf_token'): if endpoint not in csrfEndpoints or not session.get('_csrf_token'):
return return
values['_csrf_token'] = session['_csrf_token'] values['_csrf_token'] = session['_csrf_token']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment