Disable unused Flask Principal sessions (#881)

Lemur uses its own auth token for authentication; logging out doesn't
properly dispose of the Flask Principal session.
This commit is contained in:
Marti Raudsepp 2017-08-17 19:24:35 +03:00 committed by kevgliss
parent 941df0366d
commit c6d76f580e

View File

@ -13,7 +13,7 @@ from flask_bcrypt import Bcrypt
bcrypt = Bcrypt()
from flask_principal import Principal
principal = Principal()
principal = Principal(use_sessions=False)
from flask_mail import Mail
smtp_mail = Mail()