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

Support log-out when is configured in the site

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2.1
    • Side menu
    • Hide
      1. Using a Moodle site with master branch, go to "Site Administration > Mobile app > Mobile features" and disable "Force log out".
      2. In the app, check that you can logout and login without having to introduce your password (like it has been until now). Check that the option in the side menu is named "Change site".
      3. In Moodle web, now enable the "Force log out". Also, go to "Site Administration > Mobile app > Mobile authentication" and set login "Via the app".
      4. In the app, login in the site and check that now the option is named "Logout" instead of "Change site". Click it and try to access the site again. Check that you are asked for your password.
        • Check that clicking Cancel sends you to the sites list.
        • Check that entering the right password sends you to the site initial page.
      5. In Moodle web, set the login via browser or embedded browser.
      6. In the app, click "Logout" and try to access the site again. Check that the browser/inappbrowser is opened to input your credentials.
        • Check that canceling the confirm modal (only system browser), closing the InAppBrowser or going back to the app without authenticating sends you back to the sites list.
        • Check that after authenticating you're redirected to the site initial page.
      Show
      Using a Moodle site with master branch, go to " Site Administration > Mobile app > Mobile features " and disable "Force log out". In the app, check that you can logout and login without having to introduce your password (like it has been until now). Check that the option in the side menu is named "Change site". In Moodle web, now enable the "Force log out". Also, go to " Site Administration > Mobile app > Mobile authentication " and set login "Via the app". In the app, login in the site and check that now the option is named "Logout" instead of "Change site". Click it and try to access the site again. Check that you are asked for your password. Check that clicking Cancel sends you to the sites list. Check that entering the right password sends you to the site initial page. In Moodle web, set the login via browser or embedded browser. In the app, click "Logout" and try to access the site again. Check that the browser/inappbrowser is opened to input your credentials. Check that canceling the confirm modal (only system browser), closing the InAppBrowser or going back to the app without authenticating sends you back to the sites list. Check that after authenticating you're redirected to the site initial page.
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • Moodle Mobile 3.2.1

    Description

      If it is configured in the Mobile feature settings, we should replace the "Change site" option with "Log-out" invalidating the token.

      To distinguish if the token is not valid because a log-out, we could replace the token hash with a word like "token_invalidated_by_log_out"

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                28/Feb/17