I've pretty much straight lifted my code from http://li3.me/docs/manual/auth/simple-authentication.md
in
if($user = Auth::check('customer', $this->request)) {
//whatever
}
I'm trying to get a simple Auth::check
in Lithium to fail when no user has logged in. Instead it seems to always perform a User::first()
and return the first record in my Mysql users table where i would expect boolean FALSE
.
help appreciated,
Paul