Correct the reference to user's password in mastodon:add_user task (#6800)

master
Akihiko Odaki 6 years ago committed by Eugen Rochko
parent b88fcd53f7
commit 338bff8b93
  1. 2
      lib/tasks/mastodon.rake

@ -472,7 +472,7 @@ namespace :mastodon do
if user.save if user.save
prompt.ok 'User created and confirmation mail sent to the user\'s email address.' prompt.ok 'User created and confirmation mail sent to the user\'s email address.'
prompt.ok "Here is the random password generated for the user: #{password}" prompt.ok "Here is the random password generated for the user: #{user.password}"
else else
prompt.warn 'User was not created because of the following errors:' prompt.warn 'User was not created because of the following errors:'

Loading…
Cancel
Save