about summary refs log tree commit diff
path: root/lib/tasks
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-17 21:27:19 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-17 13:27:19 +0100
commit338bff8b93fa939c2968818e53386fd0c013d9a9 (patch)
treeb9bcce9e158b1a1b54bcd6587cfbcbef29f773a8 /lib/tasks
parentb88fcd53f711673b21e5ff4a547dbf929866a2ee (diff)
Correct the reference to user's password in mastodon:add_user task (#6800)
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/mastodon.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake
index 13df76f91..cf32b1495 100644
--- a/lib/tasks/mastodon.rake
+++ b/lib/tasks/mastodon.rake
@@ -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:'