This PR aim to improve example code in readme, so that newcomers can more easily understand how to use this module.
I tried to:
Simplify conditional logic
Break apart login POST and GET handlers
Remove Hapi cache as session storage because you don’t have to know about the cache in order to use this module. Also using this in memory sessions will log out you after server restart, which may confuse people (as example: #200)
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
Hi everyone!
This PR aim to improve example code in readme, so that newcomers can more easily understand how to use this module.
I tried to: