fix: block usr_ signups

This commit is contained in:
zand committed 2026-10-05 10:00:11 +02:00
1 parent 7cc965ce52
commit b5a42aeb9a
1 file changed
+2 -2
+2 -2
View File
@@ -18,7 +18,7 @@ from pathlib import Path
import dns.resolver
VERSION = "6.5"
VERSION = "6.6"
SOURCES = [
"https://raw.githubusercontent.com/mehrtat/disposable-email-domain/main/domains.txt",
@@ -429,7 +429,7 @@ User.pending.find_each(batch_size: 100) do |user|
EmailDomainBlock.block?(user.email)
blocked_username =
user.account.username.to_s.match?(/\\Ausr_/i)
user.account.username.to_s.match?(/\Ausr_/i)
next unless blocked_email || blocked_username