Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2209

Users cannot login if site policy not agreed and email signup is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.0
    • 3.3.2
    • Authentication
    • Hide
      1. In web as admin, add a site policy to a site with MDL-60005 applied (Site administration > Security > Site policies).
      2. Make sure that email-based self-registration is disabled (Site administration > Plugins > Authentication > Manage authentication).
      3. In the app, add a new account in the site. Check that you're redirected to the view to accept the site policy after you login.
      4. Check that you can accept the site policy and use the app.
      Show
      In web as admin, add a site policy to a site with MDL-60005 applied (Site administration > Security > Site policies). Make sure that email-based self-registration is disabled (Site administration > Plugins > Authentication > Manage authentication). In the app, add a new account in the site. Check that you're redirected to the view to accept the site policy after you login. Check that you can accept the site policy and use the app.
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

      Reported in the forum:

      https://moodle.org/mod/forum/discuss.php?d=355738

      If a user hasn't accepted the site policy and the site has the WebService core_user_agree_site_policy, he is redirected to the page to accept the site policy. However, the only way to retrieve the site policy is using the WebService auth_email_get_signup_settings. If email signup isn't enabled, this WS call fails and the user is sent to the sites list page. This means he is unable to login at all and the errors shown don't make much sense.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Berta Maroto Berta Maroto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.