Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-25-2021 07:50 PM
Hi there
I think there is a mistake in the Building Neo4j App With NodeJS new course
Chapter -> Interacting with Neo4j
Challenge -> Authenticating a User
If you look at the final Working Solution, you can see that the session is closed almost at the end of the function...which means if there is no user matching the one provided by the UI or if the password is wrong the function will return false and the session will never close.
Is it intentional and there is something I don't understand ?
Because in the register function before we made sure that the session was closed whatever happen.
Solved! Go to Solution.
01-17-2022 06:25 AM
Good spot, thank you for reporting it. You're correct, because the results are consumed straight away and there are no more interactions with the database the session can be closed. I will get the code updated
01-17-2022 06:25 AM
Good spot, thank you for reporting it. You're correct, because the results are consumed straight away and there are no more interactions with the database the session can be closed. I will get the code updated
01-19-2022 04:04 PM
I'm glad to know that I understood the stuff
Quick question,
I had some courses and certifications done in the "old" graph academy, I would like to know if at some points these will be transfer in the new one?
Thanks
All the sessions of the conference are now available online