Details
Description
Page: http://framework.zend.com/manual/en/learning.multiuser.authentication.html
In the script for authController, lines 8-10 are currently:
08 $loginForm = new Default_Form_Auth_Login($_POST);
09
10 if ($loginForm->isValid()) {
It should probably say
08 $loginForm = new Default_Form_Auth_Login();
09
10 if ($loginForm->isValid($_POST)) {
Also, the auth/login.phtml refers to $this->form when it should probably refer to $this->loginForm
Also, line 23 uses $auth, which is not defined anywhere.
Also, (possibly not a bug, just me being a bumbling novice!), $this->_getParam('db') returns null, rather than a DbAdapter object.
I'm attaching this controller/action to the quickstart tutorial code (which seems to use the db adapter without doing any initialisation).