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

QR reader button should not be displayed in the credentials screen for sites that disabled it

    XMLWordPrintable

Details

    • Hide

      Test this on ONE device of your choice. On master site, or any with MDL-70624 integrated.

      A customised app pointing to a 4.0 site having displayqroncredentialscreen enabled in the config.json is required.

      On site:

      1. Login as admin.
      2. Go to "Site administration > Mobile authentication"
      3. Set a value to the "QR code access" field and "Save changes"

      On the app:

      1. Try to login to the site and when on credentials screen check that the QR button only appears when "QR code access" is set to "QR with automatic login".
      2. Check other two options hide the QR button on credentials page.
      3. Now check again with reconnect page.
      Show
      Test this on ONE device of your choice. On master site, or any with MDL-70624 integrated. A customised app pointing to a 4.0 site having displayqroncredentialscreen enabled in the config.json is required. On site: Login as admin. Go to "Site administration > Mobile authentication" Set a value to the "QR code access" field and "Save changes" On the app: Try to login to the site and when on credentials screen check that the QR button only appears when "QR code access" is set to "QR with automatic login". Check other two options hide the QR button on credentials page. Now check again with reconnect page.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      This will happen only in custom apps pointing to specific sites, the information whether qr is enabled or not is still NOT returned via tool_mobile settings in the get_public_config WS

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          215 kB
        2. screenshot-2.png
          screenshot-2.png
          184 kB
        3. screenshot-3.png
          screenshot-3.png
          150 kB
        4. screenshot-4.png
          screenshot-4.png
          202 kB
        5. screenshot-5.png
          screenshot-5.png
          198 kB
        6. screenshot-6.png
          screenshot-6.png
          205 kB

        Issue Links

          Activity

            People

              pferre22 Pau Ferrer
              jleyva Juan Leyva
              Dani Palou Dani Palou
              Dani Palou Dani Palou
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                22/Apr/22