Hello everybody,
Get some trouble with writing my own driver for auth, i have the message :
ErrorException [ Error ]: Call to a member function get_id() on a non-object
First i was thinking that i was doing bad job on writing my own driver, but in fact i have the same thing with SimpleAuth.
Any ideas of what i'm doing wrong ?
Thanks for your help
Fab
Ok, got it (search 2H, post here, have a chocolat, relook @ code and see i was making a (Auth::check('owndriver')) with a owndriver wrong case (owndriver instead of Owndriver ...)
Sorry ...
Fab
Just a little feedback, for beginners like me with fuel, Drivers for Auth are just AWESOME, except this little typo, it was easy like 1 2 3 to use a old user database and rewrite a driver who worked flawlessly with the Auth package.
This is dope, thanks Fuel !
Back to code