parent
6e3936aa6f
commit
51e154f5e8
92 changed files with 282 additions and 249 deletions
|
@ -12,13 +12,13 @@ module Mastodon
|
|||
|
||||
desc 'open', 'Open registrations'
|
||||
def open
|
||||
Setting.open_registrations = true
|
||||
Setting.registrations_mode = 'open'
|
||||
say('OK', :green)
|
||||
end
|
||||
|
||||
desc 'close', 'Close registrations'
|
||||
def close
|
||||
Setting.open_registrations = false
|
||||
Setting.registrations_mode = 'none'
|
||||
say('OK', :green)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue