diff options
-rw-r--r-- | manager/application/controllers/LoginController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manager/application/controllers/LoginController.php b/manager/application/controllers/LoginController.php index db6303e..784c4b8 100644 --- a/manager/application/controllers/LoginController.php +++ b/manager/application/controllers/LoginController.php @@ -39,8 +39,10 @@ class LoginController extends Zend_Controller_Action ->setIdentityColumn('email')
->setCredentialColumn('password');
+ Log::Log()->info(__METHOD__ . ' authenticate ' . $this->getRequest()->getParam('login_name') . ' ' . sha1(utf8_decode($this->getRequest()->getParam('login_password'))));
+
$auth->setIdentity( $this->getRequest()->getParam('login_name'))
- ->setCredential( sha1($this->getRequest()->getParam('login_password')))
+ ->setCredential( sha1(utf8_decode($this->getRequest()->getParam('login_password'))))
->setCredentialTreatment('?');
$result = $auth->authenticate();
|