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

Forgot password tool performs case-sensitive search on username and e-mail

XMLWordPrintable

    • PostgreSQL
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • w33_MDL-29000_m22_forgetcase
    • Easy
    • Hide

      To test, create a Moodle user account with an e-mail address (i.e. test@localhost.com) and run a forgot password test with both 'test@localhost.com' and 'Test@LocaLHOST.com' - you will only receive one e-mail for 'test@localhost.com'.

      Show
      To test, create a Moodle user account with an e-mail address (i.e. test@localhost.com) and run a forgot password test with both 'test@localhost.com' and 'Test@LocaLHOST.com' - you will only receive one e-mail for 'test@localhost.com'.

      When using the forgot password tool, it performs a check using case-sensitive strings when using PgSQL because using WHERE $field=$value in PgSQL checks for case-sensitivity. I am unable to replicate using MySQL as MySQL does not check for case-sensitivity when using WHERE $field=$value.

            skodak Petr Skoda
            jaseeey Jason Ilicic (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Davis Andrew Davis
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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