Skip to content
Jelly Driver for Kohana 3 Auth Module
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

An extension of The Kohana 3 Auth module for use with Jelly User models.

This module is just a Jelly port of Sprig Auth driver by @banks who in turn based his sprig-auth from Kohana's ORM auth driver.

Jelly Auth used to implement something different from Sprig Auth and ORM Auth. Upon using Auth::instance()->logged_in(), Jelly Auth used to check if the user still exists in the database. It's surprising that ORM Auth and Sprig Auth will still log the user in even if the user has already been deleted. They save and get the user object as a session.

In Jelly Auth, I wanted to check if the user exists before authenticating. But I realized that it's not really this Driver's place to change the way how the default Auth works. Auth is supposed to be very basic. I'll just create a more advanced Auth Module that adds more advanced checks.

Thanks to Jonathan Geiger for Jelly and Paul Banks for many helpful tips.

You can’t perform that action at this time.