mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
zero or more for banned email domain match
This commit is contained in:
parent
52fb279fed
commit
62df9c47e9
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ class Site < Sequel::Model
|
|||
email.strip!
|
||||
|
||||
banned_email_domains.each do |banned_email_domain|
|
||||
return true if email.match /@#{banned_email_domain}$/i
|
||||
return true if email.match /@*#{banned_email_domain}$/i
|
||||
end
|
||||
|
||||
false
|
||||
|
|
Loading…
Add table
Reference in a new issue