The register.php is always accessible even if not institutions allow it
Bug #1717035 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Unassigned | ||
17.10 |
Fix Released
|
Low
|
Unassigned |
Bug Description
When an institution allows registration there is a 'Register' link at the bottom of the login box, which take you to the register.php page.
If there are no institutions allowing registration there is no link in login box, but yet you still can go to the register.php page directly and see the form.
The 'Institution' select box has no value so there is a pieform 'select' error.
What needs to be done is to not allow one to see the form if there is no institutions they can register to but rather just show them some generic message about 'Please use the 'contact us' form or something.
no longer affects: | mahara/17.04 |
no longer affects: | mahara/16.10 |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/8012