From 338bff8b93fa939c2968818e53386fd0c013d9a9 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Sat, 17 Mar 2018 21:27:19 +0900 Subject: [PATCH] Correct the reference to user's password in mastodon:add_user task (#6800) --- lib/tasks/mastodon.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake index 13df76f9107..cf32b149545 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:'