insert LoginManager in devicehub app
This commit is contained in:
parent
1feb287ca0
commit
fb81edf799
|
@ -6,6 +6,7 @@ import boltons.urlutils
|
|||
import click
|
||||
import click_spinner
|
||||
import ereuse_utils.cli
|
||||
from flask_login import LoginManager
|
||||
from ereuse_utils.session import DevicehubClient
|
||||
from flask.globals import _app_ctx_stack, g
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
@ -26,6 +27,7 @@ class Devicehub(Teal):
|
|||
test_client_class = Client
|
||||
Dummy = Dummy
|
||||
jinja_environment = Environment
|
||||
login_manager = LoginManager()
|
||||
|
||||
def __init__(self,
|
||||
inventory: str,
|
||||
|
|
Reference in New Issue