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

This commit is contained in:
Akihiko Odaki 2018-03-17 21:27:19 +09:00 committed by Eugen Rochko
parent b88fcd53f7
commit 338bff8b93

View file

@ -472,7 +472,7 @@ namespace :mastodon do
if user.save
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
prompt.warn 'User was not created because of the following errors:'