Replies: 2 comments 14 replies
-
If there is a deposit for account verification, I assume spammers are managing to only create unverified accounts? Are they using real email addresses? The Truemail gem can be used to determine whether the email address actually exists and even if it's likely a spam email. You could hook it up as follows: class RodauthMain < Rodauth::Rails::Auth
configure do
login_meets_requirements? do |email|
super(email) && truemail?(email)
end
end
private
def truemail?(email)
return true if Truemail.valid?(email)
set_login_requirement_error_message(:fake_email, "doesn't appear to be real email address")
false
end
end Also, is |
Beta Was this translation helpful? Give feedback.
7 replies
-
They seem to be using real emails for now.. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
My controllers are rate limited by
rack-attack
so thankfully its not as big of a problem as it can be. I'm being targeted by garbage account creation bots, and they pollute my db constantly.I'm rate limiting by ip via the
rack-attack
gemI've disabled sending a welcome email (until a deposit) also enabled recaptcha but somehow the spammers are still getting through.
I wanted to know what the best practices are to prevent such account creation garbage coming into my db?
Beta Was this translation helpful? Give feedback.
All reactions