mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-29 14:08:31 -04:00
Use import from its new location
Making this change gets rid of a deprecation warning from our logs.
This commit is contained in:
@@ -481,7 +481,7 @@ def register_errorhandlers(application):
|
||||
|
||||
|
||||
def setup_event_handlers():
|
||||
from flask.ext.login import user_logged_in
|
||||
from flask_login import user_logged_in
|
||||
from app.event_handlers import on_user_logged_in
|
||||
|
||||
user_logged_in.connect(on_user_logged_in)
|
||||
|
||||
Reference in New Issue
Block a user