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

Allowing IP address 'OR' password confirmation for quiz

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9, 2.0
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      I have code added to the quiz module that allows a user to specify both a password and an IP subnet to work independently. Currently, if you set both in a quiz, both are required to gain access. I have added a setting that allows you to specify an 'or' case. If specified, and both an IP address and a password are specified, if the IP subnet matches then the user gains access immediately. If the IP does not match, then they are required to enter a password.

      The change affects:

      • attempt.php
      • mod_form.php
      • version.php
      • /db/upgrade.php
      • /lang/en_utf8/quiz.php
      • /lang/en_utf8/help/quiz/requireeither.php

      If this is a desirable feature, I will make it available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mchurch Mike Churchward
              Participants:
              Component watchers:
              Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: