I have an auth.py file where I store
session["current_user"] = user_data
If the user logs in I can see the session data in the console. How can I pass this session data to another file test.py
?
In test.py
some processing happens and not routed, since the user doesn't needs access on this.