I'm already using the Auth class. I can log the user in and then create a session, but I can't tie the session to the user.
How do I verify that the active session belongs to the logged in user?
How do I log the user out if the user clears his cookies?
I've been trying to get this working for two days now.
And, for some reason:
$this->f3->set('active_session_user', $user); // does not set
$this->f3->set('active_session_hash', md5($user)); // does not set
$this->f3->set('SESSION.user_hash', md5($user)); // sets
Getting auth/session working feels a lot harder than it should be.