Should email address domain comparison be case insensitive? I have run into a problem where Redmine is setup with lowercase email domain addresses, but Azure is returning mixed case domain email addresses.
The comparison code in the plugin is case sensitive.
From redmine_oauth_controller.rb:
user = User.joins(:email_addresses)
.where('email_addresses.address' => email, 'email_addresses.is_default' => true)
.first_or_initialize
I am thinking that for Azure, comparison of the email address to the Redmine address should be case insensitive.
Should email address domain comparison be case insensitive? I have run into a problem where Redmine is setup with lowercase email domain addresses, but Azure is returning mixed case domain email addresses.
The comparison code in the plugin is case sensitive.
From redmine_oauth_controller.rb:
I am thinking that for Azure, comparison of the email address to the Redmine address should be case insensitive.