Skip to content

Commit

Permalink
lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser committed Apr 3, 2024
1 parent 069f72f commit 852f74a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fn check_if_context_is_a_required_field(

if DOMAINS_THAT_REQUIRE_CONTEXT
.iter()
.any(|domain| current_user.email.0.ends_with(domain))
.any(|domain| current_user.email.0.to_lowercase().ends_with(domain))
&& args.context.is_none()
{
return Err(anyhow!(
Expand Down

0 comments on commit 852f74a

Please sign in to comment.