diff options
author | Daniel M Brasil <danielmbrasil@protonmail.com> | 2023-05-09 09:46:00 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 14:46:00 +0200 |
commit | 536dd046d44c1fb5738ee7044b359b63fb4359c7 (patch) | |
tree | c8026672e2c79019cfba9d5bff4a4563a5968449 /lib | |
parent | ffb3fef7dba2f7ca2d927bc8432731962d2ee4f9 (diff) |
Add ability to block sign-ups from IP using the CLI (#24870)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/ip_blocks_cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/ip_blocks_cli.rb b/lib/mastodon/ip_blocks_cli.rb index 8a8685fe5af..82a08753bc6 100644 --- a/lib/mastodon/ip_blocks_cli.rb +++ b/lib/mastodon/ip_blocks_cli.rb @@ -11,7 +11,7 @@ module Mastodon true end - option :severity, required: true, enum: %w(no_access sign_up_requires_approval), desc: 'Severity of the block' + option :severity, required: true, enum: %w(no_access sign_up_requires_approval sign_up_block), desc: 'Severity of the block' option :comment, aliases: [:c], desc: 'Optional comment' option :duration, aliases: [:d], type: :numeric, desc: 'Duration of the block in seconds' option :force, type: :boolean, aliases: [:f], desc: 'Overwrite existing blocks' |