docbrown/spec/system/authentication
Michael Kohl 0af8fc1866
Prevent suspended users from self-deleting and returning (#12503)
* Add new table and model

* Store banned user username hash on delete

* Prevent previously banned user from signing up again

* Update method name

* Refactor code and add more specs

* Test improvements

* Don't override existing global flash

* Fix typo

* Update spec description

* Update schema.rb

* More schema.rb fixes

* Simplify spec

* Update migration

* Clean up migration

* Rename method

* Add DataDog counter

* Revisit error handling

* Remove spurious empty line

* Make model name more explicit
2021-02-11 09:28:59 +07:00
..
beta_access_providers_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
creator_config_edit_spec.rb Fixes apple auth creator flow in /admin/config (#12287) 2021-01-15 08:07:34 -06:00
omniauth_redirect_uri_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
redirects_using_referer_spec.rb Add Sign in with Apple (#11934) 2020-12-18 10:22:33 -06:00
user_logs_in_with_apple_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_logs_in_with_email_spec.rb Encode emails properly before sending to /confirm-email (#12211) 2021-01-13 15:17:14 -05:00
user_logs_in_with_facebook_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_logs_in_with_github_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_logs_in_with_twitter_spec.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
user_request_confirmation_spec.rb Add flash message for email confirmation (#12450) 2021-01-28 09:32:04 +07:00
user_with_suspended_username_spec.rb Prevent suspended users from self-deleting and returning (#12503) 2021-02-11 09:28:59 +07:00