issue #0001686 : Get hach parameter again and replace password

This commit is contained in:
Michael RICOIS 2013-08-19 09:42:37 +00:00
parent a70d7d6e63
commit 0c46c6f93b

View File

@ -36,6 +36,11 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
$login = $request->getParam('login');
$pass = $request->getParam('pass', '');
$hach = $request->getParam('hach');
if (!empty($hach)) {
$pass = $hach;
}
$auth = Zend_Auth::getInstance();
//On vérifie le tout lors d'une connexion par url