commit: 338bff8b93fa939c2968818e53386fd0c013d9a9
parent: b88fcd53f711673b21e5ff4a547dbf929866a2ee
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date: Sat, 17 Mar 2018 21:27:19 +0900
Correct the reference to user's password in mastodon:add_user task (#6800)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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:'