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

Required custom profile fields, are not required when a registered user accesses the registration form (solution to disable form for logged in users)

    XMLWordPrintable

Details

    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • wip-MDL-49003-master
    • Hide
      1. Enable email based self-registration
      2. Logout, access /login/signup.php and make sure you are able to register
      3. Logout, login as guest and repeat previous step
      4. Being already logged in, type URL "/login/signup.php" and make sure the form is not displayed to you.
      Show
      Enable email based self-registration Logout, access /login/signup.php and make sure you are able to register Logout, login as guest and repeat previous step Being already logged in, type URL "/login/signup.php" and make sure the form is not displayed to you.

    Description

      Based on MDL-42138.

      Here is a point-by-point overview:
      0. Moodle 2.8.2
      1. E-mail based self-registration is enabled.
      2. There is a custom 'register on the website' link added to the main menu. It points to /login/signup.php
      3. There are a bunch of custom user profile fields added. All are set as required, to display on the signup page and as visible to user.

      Now the scenario:
      1. A user visits the website.
      2. A user logs in/is logged in.
      3. A user goes to the registration form (either from a link somewhere on the website or by manually adding /login/signup.php). A user fills the form while logged.
      4. The required custom fields are not marked as required. The red asterisk is not displayed.
      5. A user is able to proceed with the registration without filling in all the necessary information.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              symp Marek Kancelarek
              Petr Skoda Petr Skoda
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Zachary Durber Zachary Durber
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15