aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/common.py')
-rw-r--r--src/web/views/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/common.py b/src/web/views/common.py
index 690c4d1c..f9613c01 100644
--- a/src/web/views/common.py
+++ b/src/web/views/common.py
@@ -2,8 +2,8 @@ import json
from functools import wraps
from datetime import datetime
from flask import current_app, Response
-from flask.ext.login import login_user
-from flask.ext.principal import (Identity, Permission, RoleNeed,
+from flask_login import login_user
+from flask_principal import (Identity, Permission, RoleNeed,
session_identity_loader, identity_changed)
from web.controllers import UserController
from web.lib.utils import default_handler
bgstack15