We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2657dd5 commit 51bf10eCopy full SHA for 51bf10e
1 file changed
notebook.py
@@ -30,7 +30,8 @@
30
app.permanent_session_lifetime = timedelta(minutes=SessionConst.SESSION_TTL.value)
31
32
# Protection against CSRF attack
33
-CSRFProtect(app)
+csrf = CSRFProtect(app)
34
+csrf.init_app(app)
35
36
# databases
37
account_db = Account()
0 commit comments