* Allow moderators to disable/enable login * Instead of rejecting login, show forbidden error when login disabled Avoid confusion because when login is rejected, the message is that the account is not activated, which is wrong. * Fix tests |
||
|---|---|---|
| .. | ||
| account_moderation_note_policy.rb | ||
| account_policy.rb | ||
| application_policy.rb | ||
| backup_policy.rb | ||
| custom_emoji_policy.rb | ||
| domain_block_policy.rb | ||
| email_domain_block_policy.rb | ||
| instance_policy.rb | ||
| invite_policy.rb | ||
| relay_policy.rb | ||
| report_note_policy.rb | ||
| report_policy.rb | ||
| settings_policy.rb | ||
| status_policy.rb | ||
| subscription_policy.rb | ||
| user_policy.rb | ||