I have noted that BasicAuth does no longer works by simply uncomented //->check in Frontend.php It seems like now it requires a Model... what are the requirements for that model? how do I create it? And how do I know use BasicAuth?
Thanks
I have noted that BasicAuth does no longer works by simply uncomented //->check in Frontend.php It seems like now it requires a Model... what are the requirements for that model? how do I create it? And how do I know use BasicAuth?
Thanks
$auth->setModel('AnyModel','user_field','password_field');
$auth->check();
This should work. The allow('demo','demo') attempt to pass on a Array-based model with specified user and there seems to be some bug in 4.2.1.