Files
eveAI/eveai_app/context_processors.py

10 lines
237 B
Python

from flask_security import current_user
# def inject_user():
# if current_user:
# print("Injecting current_user: ", current_user)
# else:
# print("No user to inject")
# return {'current_user': current_user}