Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-55889

Add require login in course/index.php

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.3
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      Anyone can list courses and teachers names without login using http://mymoodle/course/index.php. Adding require_login(); after require_once($CFG->libdir. '/coursecatlib.php'); will be enough

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kfern Fernando Navarro Paez
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: