Move self destruct check to config_for and add constant for verifier string (#32943)
This commit is contained in:
1 parent
911d7dbbf6
commit
c0c34d35e2
4 files changed
+19
-12
No files matched your search
@@ -76,7 +76,7 @@ module Mastodon::CLI
|
||||
def self_destruct_value
|
||||
Rails
|
||||
.application
|
||||
.message_verifier('self-destruct')
|
||||
.message_verifier(SelfDestructHelper::VERIFY_PURPOSE)
|
||||
.generate(Rails.configuration.x.local_domain)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user