Skip to content

Commit

Permalink
use CSRFProtect instead of deprecated CsrfProtect
Browse files Browse the repository at this point in the history
  • Loading branch information
jokruger committed May 27, 2020
1 parent 6d3569c commit 8f04c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybossa/extensions.py
Expand Up @@ -108,8 +108,8 @@
csv_exporter = None

# CSRF protection
from flask_wtf.csrf import CsrfProtect
csrf = CsrfProtect()
from flask_wtf.csrf import CSRFProtect
csrf = CSRFProtect()

# Timeouts
timeouts = dict()
Expand Down

0 comments on commit 8f04c05

Please sign in to comment.