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/controllers/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_controller.rb Add password challenge to 2FA settings, e-mail notifications (#11878) 5 years ago
confirmations_controller.rb Fix wrong variable regression from #11753 (#11763) 5 years ago
omniauth_callbacks_controller.rb Change unconfirmed user login behaviour (#11375) 6 years ago
passwords_controller.rb Fix other sessions not being logged out on password change (#14252) 5 years ago
registrations_controller.rb Add honeypot fields and minimum fill-out time for sign-up form (#15276) 4 years ago
sessions_controller.rb Fix 2FA/sign-in token sessions being valid after password change (#14802) 4 years ago
setup_controller.rb Change unconfirmed user login behaviour (#11375) 6 years ago