Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix user_is_email_unique() on case-sensitive DB #1899

Merged

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    8bdafe3 View commit details
    Browse the repository at this point in the history
  2. Fix user_is_email_unique() on case-sensitive DB

    When the mantis_user_table's email column is case-sensitive, the
    user_is_email_unique() function incorrectly returned true if the
    given e-mail only differed by case (e.g. test.user@example.com vs
    Test.User@example.com)
    
    Fixes #32451
    dregad committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    202e7e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7eccf5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fc168dd View commit details
    Browse the repository at this point in the history
  5. user_get_id_by_email() is now case insensitive

    - Case insensitive user cache search
    - Use DbQuery::sql_ilike() for database search
    
    Fixes #32451
    dregad committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    030eab3 View commit details
    Browse the repository at this point in the history