Lillum
EDSEthan's dev spot
•Created by Lillum on 12/1/2023 in #questions
BETH stack tutorial b2b app - session is null for auth when trying to log in
I have found that the session object returns null if it's checked before my return statement. I changed the auth to redirect to the index page with a console.log on the session object. if the console log is there it says the session is null, if i comment the log out, the session object is there and renders "Hi! {username}"
2 replies