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

Security keys page: 'valid until' information is not matching the user language

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.7, 2.4.4
    • 2.2.1, 2.2.9, 2.3.6, 2.4.3, 2.5
    • Web Services
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-31193-master
    • Hide

      To do this test you'll need to create a token with a valid until date for a manager.

      Go to Admin > Plugins > Web service > Manage token
      Check that a token with a "Valid until" date has the correct date displayed in the correct user language.

      Connect as Manager
      Go to Edit profile > My security keys
      Check that a token with a "Valid until" date has the correct date displayed in the correct user language.

      Show
      To do this test you'll need to create a token with a valid until date for a manager. Go to Admin > Plugins > Web service > Manage token Check that a token with a "Valid until" date has the correct date displayed in the correct user language. Connect as Manager Go to Edit profile > My security keys Check that a token with a "Valid until" date has the correct date displayed in the correct user language.

      webservice/renderer.php: user_webservice_tokens_box()

      Fix the following TODO:

      if (!empty($token->validuntil)) {
          $validuntil = date("F j, Y"); //TODO: language support (look for moodle function)
      }

      To see the 'valid until' information on your security keys page: you need to be a non admin user who has a token. The admin need to have set you up as an authorised user, and to have also set you up a 'valid until'.

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Andrew Davis Andrew Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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