forked from ZwiiCMS-Team/ZwiiCampus
fix filter password
This commit is contained in:
parent
1b59adcf04
commit
2fadd192e8
@ -662,7 +662,7 @@ class course extends common
|
|||||||
]);
|
]);
|
||||||
break;
|
break;
|
||||||
case self::COURSE_ENROLMENT_SELF_KEY:
|
case self::COURSE_ENROLMENT_SELF_KEY:
|
||||||
if ($this->getInput('courseSwapEnrolmentKey', null, true) === $this->getData(['course', $courseId, 'enrolmentKey'])) {
|
if ($this->getInput('courseSwapEnrolmentKey', helper::FILTER_PASSWORD, true) === $this->getData(['course', $courseId, 'enrolmentKey'])) {
|
||||||
$this->courseEnrolUser($courseId, $userId);
|
$this->courseEnrolUser($courseId, $userId);
|
||||||
// Stocker la sélection
|
// Stocker la sélection
|
||||||
$_SESSION['ZWII_SITE_CONTENT'] = $courseId;
|
$_SESSION['ZWII_SITE_CONTENT'] = $courseId;
|
||||||
|
Loading…
Reference in New Issue
Block a user