Rename and refactor User#confirm! to User#mark_email_as_confirmed! (#28735)
This commit is contained in:
1 parent
e621c1c44c
commit
98b5f85f10
7 files changed
+33
-35
No files matched your search
@@ -105,7 +105,7 @@ module Mastodon::CLI
|
||||
if user.save
|
||||
if options[:confirmed]
|
||||
user.confirmed_at = nil
|
||||
user.confirm!
|
||||
user.mark_email_as_confirmed!
|
||||
end
|
||||
|
||||
user.approve! if options[:approve]
|
||||
|
||||
Reference in new issue
Block a user