Skip to content

Commit

Permalink
Update SignUpOrSignin_DomainAllowlist.xml
Browse files Browse the repository at this point in the history
Terminated regular expression to ensure only one email.  Also simplified the alternation for the domain and fixed the help text which did not include gmail even though the regex allowed it.
  • Loading branch information
jayallen authored Jun 28, 2024
1 parent 7abd368 commit eff5ea9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ClaimsSchema>
<ClaimType Id="email">
<Restriction>
<Pattern RegularExpression="^[a-zA-Z0-9.!#$%&amp;'^_`{}~\-]+@(outlook[.]com|live[.]com|gmail[.]com)" HelpText="Please enter a email address from one of the following domains: outlook.com, live.com." />
<Pattern RegularExpression="^[a-zA-Z0-9.!#$%&amp;'^_`{}~\-]+@(outlook|live|gmail)\.com$" HelpText="Please enter an email address from one of the following domains: outlook.com, live.com, gmail.com." />
</Restriction>
</ClaimType>
</ClaimsSchema>
Expand Down Expand Up @@ -44,4 +44,4 @@
<SubjectNamingInfo ClaimType="sub" />
</TechnicalProfile>
</RelyingParty>
</TrustFrameworkPolicy>
</TrustFrameworkPolicy>

0 comments on commit eff5ea9

Please sign in to comment.