Dev#59639 multimedia supprimer besoin auth pour question sur devices
Merged
requested to merge dev#59639_Multimedia_Supprimer_besoin_auth_pour_question_sur_devices into WIP
2 unresolved threads
Supression des authentifications pour determiner si un jour est reservable
Merge request reports
Activity
Filter activity
- library/Class/Multimedia/AbstractRequest.php 0 → 100644
37 /** @var Class_Multimedia_Location */ 38 protected $_location; 39 40 protected function _controleAuthRequest($request) { 41 42 if (!($login = $request->getParam('login')) 43 || !($password = $request->getParam('password'))) 44 return $this->_error('MissingParameter'); 45 46 $auth = ZendAfi_Auth::getInstance(); 47 if (!$auth->authenticateLoginPassword($login, 48 $password, 49 [$auth->newAuthSIGB(), $auth->newAuthDb()])) { 50 if (Class_Users::findFirstBy(['login' => $login])) 51 return $this->_error('PasswordIsWrong'); 52 return $this->_error('UserNotFound'); return Class_Users::findFirstBy(['login' => $login]) ? $this->_error('PasswordIsWrong') : $this->_error('UserNotFound');
Edited by Laurent
- library/Class/Multimedia/HoldRequest.php 0 → 100644
31 32 33 /** @var boolean */ 34 protected $_holdableDay = false; 35 36 37 /** @var boolean */ 38 protected $_successHolding = false; 39 40 41 /** 42 * @param Zend_Controller_Request_Abstract 43 * @return Class_Multimedia_HoldRequest 44 */ 45 46 public static function getInstance() { added 1 commit
- af92968b - dev #59639 Multimedia supprimer besoin auth pour question devices : fix retour revue tech
added 1 commit
- 21558eca - fix tests dev multimedia sans authentification pour les devices
mentioned in commit 0dba6d41