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

get_complete_user_data() can potentially fetch data in an unreliable way

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.5.4
    • User management

      If we're fetching by email and the site allows multiple accounts using the same email to be used, then get_complete_user_data() might return another user's information.

      I think that we should either throw an exception when this happens, or we make it return false.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

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