diff --git a/app/__init__.py b/app/__init__.py index f5a8a91..217210a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -10,7 +10,7 @@ app = Flask(__name__) app.config.from_object('config') db = SQLAlchemy(app) lm = LoginManager() -lm.setup_app(app) +lm.init_app(app) lm.login_view = 'login' oid = OpenID(app, os.path.join(basedir, 'tmp')) mail = Mail(app)