New Authentication setup

Inspired by this repository and it’s associated blog post, I’ve refreshed the way Booko handles login / logout and sessions. The User model which was used quite heavily in Booko’s login stretches right back to 2009. There have been updates along the way, but it was nice to give it a solid going over.

Each time you login, you now have a new session created. You’ll now find a nice table of every login and you can now log out other sessions – or all other sessions.

Checkout the Sessions under your user account to see more.