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:
parent
941df0366d
commit
c6d76f580e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue