You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/views/auth
ThibG 49eb4d4ddf
Add honeypot fields and minimum fill-out time for sign-up form (#15276)
* Add honeypot fields to limit non-specialized spam

Add two honeypot fields: a fake website input and a fake password confirmation
one. The label/placeholder/aria-label tells not to fill them, and they are
hidden in CSS, so legitimate users should not fall into these.

This should cut down on some non-Mastodon-specific spambots.

* Require a 3 seconds delay before submitting the registration form

* Fix tests

* Move registration form time check to model validation

* Give people a chance to clear the honeypot fields

* Refactor honeypot translation strings

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
..
challenges Add password challenge to 2FA settings, e-mail notifications (#11878) 6 years ago
confirmations Change unconfirmed user login behaviour (#11375) 6 years ago
passwords Add client-side validation in password change forms (#14564) 5 years ago
registrations Add honeypot fields and minimum fill-out time for sign-up form (#15276) 4 years ago
sessions Fix omniauth (SAML/CAS) sign-in routes not having CSRF protection (#15228) 4 years ago
setup Change account deletion page to have better explanations (#11753) 6 years ago
shared Add password challenge to 2FA settings, e-mail notifications (#11878) 6 years ago